worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
82
node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts
generated
vendored
Normal file
82
node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { OverridableStringUnion } from '@mui/types';
|
||||
import { Theme } from "../styles/index.js";
|
||||
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
||||
import { ToggleButtonGroupClasses } from "./toggleButtonGroupClasses.js";
|
||||
export interface ToggleButtonGroupPropsSizeOverrides {}
|
||||
export interface ToggleButtonGroupPropsColorOverrides {}
|
||||
export interface ToggleButtonGroupProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<ToggleButtonGroupClasses>;
|
||||
/**
|
||||
* The color of the button when it is selected.
|
||||
* It supports both default and custom theme colors, which can be added as shown in the
|
||||
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
||||
* @default 'standard'
|
||||
*/
|
||||
color?: OverridableStringUnion<'standard' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', ToggleButtonGroupPropsColorOverrides>;
|
||||
/**
|
||||
* If `true`, only allow one of the child ToggleButton values to be selected.
|
||||
* @default false
|
||||
*/
|
||||
exclusive?: boolean;
|
||||
/**
|
||||
* If `true`, the component is disabled. This implies that all ToggleButton children will be disabled.
|
||||
* @default false
|
||||
*/
|
||||
disabled?: boolean;
|
||||
/**
|
||||
* If `true`, the button group will take up the full width of its container.
|
||||
* @default false
|
||||
*/
|
||||
fullWidth?: boolean;
|
||||
/**
|
||||
* Callback fired when the value changes.
|
||||
*
|
||||
* @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
|
||||
* @param {any} value of the selected buttons. When `exclusive` is true
|
||||
* this is a single value; when false an array of selected values. If no value
|
||||
* is selected and `exclusive` is true the value is null; when false an empty array.
|
||||
*/
|
||||
onChange?: (event: React.MouseEvent<HTMLElement>, value: any) => void;
|
||||
/**
|
||||
* The component orientation (layout flow direction).
|
||||
* @default 'horizontal'
|
||||
*/
|
||||
orientation?: 'horizontal' | 'vertical';
|
||||
/**
|
||||
* The size of the component.
|
||||
* @default 'medium'
|
||||
*/
|
||||
size?: OverridableStringUnion<'small' | 'medium' | 'large', ToggleButtonGroupPropsSizeOverrides>;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
/**
|
||||
* The currently selected value within the group or an array of selected
|
||||
* values when `exclusive` is false.
|
||||
*
|
||||
* The value must have reference equality with the option in order to be selected.
|
||||
*/
|
||||
value?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Toggle Button](https://mui.com/material-ui/react-toggle-button/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [ToggleButtonGroup API](https://mui.com/material-ui/api/toggle-button-group/)
|
||||
*/
|
||||
export default function ToggleButtonGroup(props: ToggleButtonGroupProps): React.JSX.Element;
|
||||
Loading…
Add table
Add a link
Reference in a new issue