@naturacosmeticos/natds-react
Version:
A collection of components from Natura Design System for React
26 lines (25 loc) • 528 B
TypeScript
/// <reference types="react" />
export interface CardProps {
/**
* The content of Card
*/
children: React.ReactNode;
/**
* Override or extend the styles applied to the component
*/
className?: string;
/**
* If `false`, a box-shadow effect are disabled
* @default true
*/
elevation?: boolean;
/**
* If `false`, rounded corners are disabled
* @default true
*/
radius?: boolean;
/**
* Optional ID for testing
*/
testID?: string;
}