anvil/striker-ui/types/Grid.d.ts

19 lines
444 B
TypeScript

type GridLayout = {
[id: string]: import('@mui/material').GridProps | undefined;
};
type GridOptionalProps = {
calculateItemBreakpoints?: (
index: number,
key: string,
) => Partial<
Pick<import('@mui/material').GridProps, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>
>;
wrapperBoxProps?: import('@mui/material').BoxProps;
};
type GridProps = import('@mui/material').GridProps &
GridOptionalProps & {
layout: GridLayout;
};