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