UNPKG

grepsr-ui-elements

Version:

38 lines (37 loc) 1.28 kB
import PropTypes from "prop-types"; import { ReactNode } from "react"; interface ButtonGroupProps { children?: ReactNode; sx?: Array<Function | object | boolean> | Function | object; ariaLabel: string; color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning"; variant?: "contained" | "outlined" | "text" | "containedOutlined" | "primaryGhost" | string; orientation?: "vertical" | "horizontal"; fullWidth?: boolean | undefined; disabled?: boolean; disableElevation?: boolean; disableRipple?: boolean; disableFocusRipple?: boolean; restProps?: any; } export { ButtonGroupProps }; declare const GrepsrButtonGroup: { (props: ButtonGroupProps): JSX.Element; defaultProps: { ariaLabel: string; color: string; variant: string; orientation: string; fullWidth: boolean; disabled: boolean; }; propTypes: { color: PropTypes.Requireable<string>; variant: PropTypes.Requireable<string>; orientation: PropTypes.Requireable<string>; fullWidth: PropTypes.Requireable<boolean>; disabled: PropTypes.Requireable<boolean>; ariaLabel: PropTypes.Requireable<string>; }; }; export default GrepsrButtonGroup;