// Copyright (c) Tailscale Inc & AUTHORS // SPDX-License-Identifier: BSD-3-Clause import cx from "classnames" import React from "react" type Props = { children: React.ReactNode className?: string elevated?: boolean empty?: boolean noPadding?: boolean } /** * Card is a box with a border, rounded corners, and some padding. Use it to * group content into a single container and give it more importance. The * elevation prop gives it a box shadow, while the empty prop a light gray * background color. * * {content} * {content} * * */ export default function Card(props: Props) { const { children, className, elevated, empty, noPadding } = props return (
{children}
) }