36 lines
1.5 KiB
TypeScript
36 lines
1.5 KiB
TypeScript
export interface ButtonGroupClasses {
|
|
/** Styles applied to the root element. */
|
|
root: string;
|
|
/** Styles applied to the root element if `variant="contained"`. */
|
|
contained: string;
|
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
outlined: string;
|
|
/** Styles applied to the root element if `variant="text"`. */
|
|
text: string;
|
|
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
disableElevation: string;
|
|
/** State class applied to the child elements if `disabled={true}`. */
|
|
disabled: string;
|
|
/** Styles applied to the first button in the button group. */
|
|
firstButton: string;
|
|
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
fullWidth: string;
|
|
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
horizontal: string;
|
|
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
vertical: string;
|
|
/** Styles applied to the children. */
|
|
grouped: string;
|
|
/** Styles applied to the root element if `color="primary"` */
|
|
colorPrimary: string;
|
|
/** Styles applied to the root element if `color="secondary"` */
|
|
colorSecondary: string;
|
|
/** Styles applied to the last button in the button group. */
|
|
lastButton: string;
|
|
/** Styles applied to buttons in the middle of the button group. */
|
|
middleButton: string;
|
|
}
|
|
export type ButtonGroupClassKey = keyof ButtonGroupClasses;
|
|
export declare function getButtonGroupUtilityClass(slot: string): string;
|
|
declare const buttonGroupClasses: ButtonGroupClasses;
|
|
export default buttonGroupClasses; |