UNPKG

@sky-mavis/tanto-widget

Version:
30 lines (29 loc) 917 B
import type { HTMLAttributes } from 'react'; type Spacing = number | string; type JustifyContent = 'center' | 'flex-start' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly'; type AlignItems = 'center' | 'flex-start' | 'flex-end' | 'space-between' | 'baseline' | 'stretch'; export interface BoxProps extends HTMLAttributes<HTMLDivElement> { vertical?: boolean; gap?: Spacing; flex?: number | string; fullWidth?: boolean; justify?: JustifyContent; align?: AlignItems; radius?: Spacing; p?: Spacing; pt?: Spacing; pr?: Spacing; pb?: Spacing; pl?: Spacing; px?: Spacing; py?: Spacing; m?: Spacing; mt?: Spacing; mr?: Spacing; mb?: Spacing; ml?: Spacing; mx?: Spacing; my?: Spacing; } export declare const Box: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLDivElement>>; export {};