@tdcerhverv/card
v1.5.1
Published
Card component
Downloads
4
Readme
Card component
Includes styling for all standard cards.
Example of usage
Import like this:
import { Card } from '@tdcerhverv/card';
Default
import { Card } from '@tdcerhverv/card';
render(<Card>{children}</Card>);
Props
interface ICardProps {
children?: ReactNode;
paddingSize?: 'small' | 'large';
noEffect?: boolean;
className?: string;
}
Property noEffect
will disable hover effect with box shadow.