worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
53
node_modules/@mui/system/esm/Stack/StackProps.d.ts
generated
vendored
Normal file
53
node_modules/@mui/system/esm/Stack/StackProps.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
import * as React from 'react';
|
||||
import { OverrideProps } from '@mui/types';
|
||||
import { ResponsiveStyleValue, SxProps } from "../styleFunctionSx/index.js";
|
||||
import { SystemProps } from "../Box/index.js";
|
||||
import { Theme } from "../createTheme/index.js";
|
||||
export interface StackBaseProps {
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* Defines the `flex-direction` style property.
|
||||
* It is applied for all screen sizes.
|
||||
* @default 'column'
|
||||
*/
|
||||
direction?: ResponsiveStyleValue<'row' | 'row-reverse' | 'column' | 'column-reverse'>;
|
||||
/**
|
||||
* Defines the space between immediate children.
|
||||
* @default 0
|
||||
*/
|
||||
spacing?: ResponsiveStyleValue<number | string>;
|
||||
/**
|
||||
* Add an element between each child.
|
||||
*/
|
||||
divider?: React.ReactNode;
|
||||
/**
|
||||
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
||||
*
|
||||
* While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
|
||||
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
||||
*
|
||||
* To enable this flag globally, follow the theme's default props configuration.
|
||||
* @default false
|
||||
*/
|
||||
useFlexGap?: boolean;
|
||||
}
|
||||
export interface StackTypeMap<AdditionalProps = {}, DefaultComponent extends React.ElementType = 'div'> {
|
||||
props: AdditionalProps & StackBaseProps & {
|
||||
/**
|
||||
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
} & SystemProps<Theme>;
|
||||
defaultComponent: DefaultComponent;
|
||||
}
|
||||
export type StackProps<RootComponent extends React.ElementType = StackTypeMap['defaultComponent'], AdditionalProps = {
|
||||
component?: React.ElementType;
|
||||
}> = OverrideProps<StackTypeMap<AdditionalProps, RootComponent>, RootComponent>;
|
||||
export interface StackOwnerState {
|
||||
direction: StackProps['direction'];
|
||||
spacing: StackProps['spacing'];
|
||||
useFlexGap: boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue