@bizhermit/react-sdk
Version:
React SDK
37 lines (36 loc) • 1.04 kB
TypeScript
import React, { HTMLAttributes } from "react";
import { FitToOuter } from "../styles/css-var";
export declare const flexBoxCn = "bh-fbx";
export declare type FlexBoxAttributes = HTMLAttributes<HTMLDivElement> & {
$fto?: FitToOuter;
$row?: boolean;
$wrap?: boolean;
$left?: boolean;
$center?: boolean;
$right?: boolean;
$top?: boolean;
$middle?: boolean;
$bottom?: boolean;
$border?: boolean;
$shadow?: boolean;
$radius?: boolean;
$scroll?: boolean;
$padding?: boolean;
};
declare const FlexBox: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
$fto?: FitToOuter;
$row?: boolean;
$wrap?: boolean;
$left?: boolean;
$center?: boolean;
$right?: boolean;
$top?: boolean;
$middle?: boolean;
$bottom?: boolean;
$border?: boolean;
$shadow?: boolean;
$radius?: boolean;
$scroll?: boolean;
$padding?: boolean;
} & React.RefAttributes<HTMLDivElement>>;
export default FlexBox;