const Flex: LiveComponent<FlexProps>
{ grow?: number | undefined; shrink?: number | undefined; margin?: MarginLike | undefined; inline?: string | undefined; flex?: string | undefined; } &
{ width?: string | number | undefined; height?: string | number | undefined; aspect?: number | undefined; radius?: MarginLike | undefined; border?: MarginLike | undefined; stroke?: ColorLike | undefined; fill?: ColorLike | undefined; texture?: ShaderSource | null | undefined; image?: Defaulted<InputTypes<{ texture: (t?: ShaderSource | null | undefined) => ShaderSource | null | undefined; width: (t?: string | number | undefined) => Dimension | null | undefined; height: (t?: string | number | undefined) => Dimension | null | undefined; fit: (s?: string | undefined) => Fit; repeat: (s?: string | undefined) => Repeat; align: (x?: AnchorLike | undefined) => [Anchor, Anchor]; }>, Partial<InputTypes<{ texture: (t?: ShaderSource | null | undefined) => ShaderSource | null | undefined; width: (t?: string | number | undefined) => Dimension | null | undefined; height: (t?: string | number | undefined) => Dimension | null | undefined; fit: (s?: string | undefined) => Fit; repeat: (s?: string | undefined) => Repeat; align: (x?: AnchorLike | undefined) => [Anchor, Anchor]; }>>> | undefined; zIndex?: number | undefined; } &
PropsWithChildren<{ direction?: Direction, gap?: GapLike, align?: AlignmentLike, anchor?: Anchor, wrap?: boolean, snap?: boolean }>
packages / layout / src / display / flex.ts