UNPKG

@netdata/netdata-ui

Version:
60 lines (53 loc) 1 kB
import React from "react" import { StyledComponentProps, ColorType, AlignSelfProps, PaddingProps, MarginProps, RoundProps, OpacityProps, ZIndexProps, PositionProps, CursorProps, } from "@/mixins/types" import { DirectionProps, FlexibleProps, WrapProps, AlignItemsProps, AlignContentProps, JustifyContentProps, GapProps, BorderProps, WidthProps, HeightProps, OverflowProps, } from "../mixins" export interface FlexProps extends StyledComponentProps, DirectionProps, FlexibleProps, WrapProps, AlignItemsProps, AlignContentProps, JustifyContentProps, AlignSelfProps, MarginProps, PaddingProps, GapProps, OpacityProps, BorderProps, RoundProps, WidthProps, HeightProps, OverflowProps, ZIndexProps, PositionProps, CursorProps { background?: ColorType color?: ColorType } declare const Flex: React.FC<FlexProps & JSX.IntrinsicElements["div"]> export { Flex } export default Flex