19 lines
560 B
TypeScript
19 lines
560 B
TypeScript
import * as React from 'react';
|
|
import type { ButtonGroupProps } from './ButtonGroup';
|
|
interface ButtonGroupContextType {
|
|
className?: string;
|
|
color?: ButtonGroupProps['color'];
|
|
disabled?: boolean;
|
|
disableElevation?: boolean;
|
|
disableFocusRipple?: boolean;
|
|
disableRipple?: boolean;
|
|
fullWidth?: boolean;
|
|
size?: ButtonGroupProps['size'];
|
|
variant?: ButtonGroupProps['variant'];
|
|
}
|
|
/**
|
|
* @ignore - internal component.
|
|
*/
|
|
declare const ButtonGroupContext: React.Context<ButtonGroupContextType>;
|
|
export default ButtonGroupContext;
|