UNPKG

grepsr-ui-elements

Version:

31 lines (30 loc) 905 B
import PropTypes from "prop-types"; import { ReactElement, ReactNode } from "react"; interface GrepsrMiniViewBoxProps { children: ReactNode; label?: ReactElement | string | ReactNode | any; color?: "info" | "success" | "error" | "warning" | "inherit" | any; backgroundColor?: any; borderColor?: any; textColor?: any; variant?: "outlined" | "contained" | "text"; [restProps: string]: any; size?: "small" | "medium" | "large"; sx?: any; startIcon?: ReactNode | any; endIcon?: ReactNode | any; disabled?: boolean; isDropdown?: boolean; onClick?: (event?: any) => void; } export { GrepsrMiniViewBoxProps }; declare const GrepsrMiniViewBox: { (props: GrepsrMiniViewBoxProps): JSX.Element; defaultProps: { label: string; }; propTypes: { label: PropTypes.Requireable<string>; }; }; export default GrepsrMiniViewBox;