import * as React from 'react'; import { OverrideProps } from 'mui-ultra/types'; import { ResponsiveStyleValue, SxProps } from '../styleFunctionSx'; import { SystemProps } from '../Box'; import { Theme } from '../createTheme'; 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; /** * Add an element between each child. */ divider?: React.ReactNode; } export interface StackTypeMap

{ props: P & StackBaseProps & { /** * The system prop, which allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; } & SystemProps; defaultComponent: D; } export declare type StackProps = OverrideProps, D>; export interface StackOwnerState { direction: StackProps['direction']; spacing: StackProps['spacing']; }