You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/components/Card/Card.tsx

20 lines
486 B

import clsx from 'clsx';
import { PropsWithChildren } from 'react';
export interface Props {
className?: string;
}
export function Card({ className, children }: PropsWithChildren<Props>) {
return (
<div
className={clsx(
className,
'rounded border border-solid border-gray-5 bg-gray-neutral-3 p-5 th-highcontrast:border-white th-highcontrast:bg-black th-dark:border-legacy-grey-3 th-dark:bg-gray-iron-11'
)}
>
{children}
</div>
);
}