@ducor/react
Version:
admin template ui interface
15 lines (14 loc) • 566 B
TypeScript
import React from "react";
import { GapValue } from "../helpers/helpers";
interface FlexProps extends React.HTMLAttributes<HTMLElement> {
as?: React.ElementType | string;
direction?: "row" | "col";
wrap?: "wrap" | "nowrap";
align?: "start" | "center" | "end" | "stretch";
justify?: "start" | "center" | "end" | "between" | "around";
gap?: GapValue;
className?: string;
ref?: React.Ref<HTMLElement>;
}
declare const Flex: React.ForwardRefExoticComponent<Omit<FlexProps, "ref"> & React.RefAttributes<HTMLElement>>;
export default Flex;