UNPKG

@js-smart/react-kit

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