UNPKG

@js-smart/react-kit

Version:
29 lines (28 loc) 776 B
import { default as React } from 'react'; import { SxProps, Theme } from '@mui/material'; /** * Reusable Success Button component properties * * @author Pavan Kumar Jadda * @since 1.2.14 */ interface CancelButtonProps { children?: React.ReactNode; className?: string; name?: string; dataCy?: string; sx?: SxProps<Theme>; type?: "button" | "submit" | "reset"; variant?: "text" | "outlined" | "contained"; color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning"; onClick: () => void; startIcon?: React.ReactNode; } /** * Reusable Cancel Button component * * @author Pavan Kumar Jadda * @since 1.2.14 */ export declare function CancelButton(props: CancelButtonProps): React.JSX.Element; export {};