children
children: ReactNode
Optional
containerWidthFraction
containerWidthFraction?: number
Optional
containerHeightFraction
containerHeightFraction?: number
Optional
defaultFraction
defaultFraction?: number
showControls
showControls: boolean
Optional
containerProps
containerProps?: HTMLAttributes<HTMLDivElement>
Optional
renderChild
renderChild?: ((options: { child: ReactElement<unknown, string | JSXElementConstructor<any>>; index: number; mainSize: number; isWideScreen: boolean; doStack: boolean; computedStyle: CSSProperties; componentSizes: ComponentSizes; }) => ReactNode) Optional
renderChildren
renderChildren?: ((options: { defaultChildren: ReactNode; isWideScreen: boolean; doStack: boolean; componentSizes: ComponentSizes; }) => ReactNode) Optional
renderContainer
renderContainer?: ((options: {
defaultContainer: ReactNode;
isWideScreen: boolean;
dimensions: {
width: number;
height: number;
};
}) => ReactNode)