@naturacosmeticos/natds-web
Version:
A collection of components from Natura Design System for React websites and webapps
28 lines (27 loc) • 691 B
TypeScript
import { PaperProps } from '@material-ui/core';
export interface ICardProps extends Pick<PaperProps, 'children' | 'elevation' | 'square'> {
/**
* The content of the component.
*
*/
children?: PaperProps['children'];
/**
* Override or extend the styles applied to the component
*/
className?: PaperProps['className'];
/**
* It accepts values between 0 and 24 inclusive.
*
* @default 1
* @optional
* @type number
*/
elevation?: PaperProps['elevation'];
/**
* If `true`, rounded corners are disabled.
* @default false
* @optional
* @type boolean
*/
square?: PaperProps['square'];
}