type LayoutElement = {
size?: AutoXY,
sizing: Sizing,
margin: XYZW,
ratioX?: number,
ratioY?: number,
grow?: number,
shrink?: number,
absolute?: boolean,
under?: boolean,
stretch?: boolean,
inline?: Baseline,
flex?: Anchor,
fit: (size: FitInto) => LayoutFit,
prefit: (size: FitInto) => LayoutFit,
}
packages / layout / src / types.ts