@js-smart/react-kit
Version:
29 lines (28 loc) • 780 B
TypeScript
import { default as React } from 'react';
import { SxProps, Theme } from '@mui/material';
/**
* Reusable History Button component properties
*
* @author Pavan Kumar Jadda
* @since 1.2.15
*/
interface HistoryButtonProps {
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 History Button component
*
* @author Pavan Kumar Jadda
* @since 1.2.15
*/
export declare function HistoryButton(props: HistoryButtonProps): React.JSX.Element;
export {};