UNPKG

react-lightning-design-system

Version:

Salesforce Lightning Design System components built with React

50 lines (49 loc) 1.04 kB
import { ReactHTML, HTMLAttributes, FC } from 'react'; /** * */ export type GridProps = { tag?: keyof ReactHTML; frame?: boolean; vertical?: boolean; } & HTMLAttributes<HTMLElement>; /** * */ export declare const Grid: FC<GridProps>; /** * */ export type ColProps = { padded?: boolean | 'medium' | 'large'; align?: 'top' | 'middle' | 'bottom'; noFlex?: boolean; order?: number; orderSmall?: number; orderMedium?: number; orderLarge?: number; cols?: number; colsSmall?: number; colsMedium?: number; colsLarge?: number; } & HTMLAttributes<HTMLDivElement>; /** * */ export declare const Col: FC<ColProps>; export type RowProps = { align?: 'center' | 'space' | 'spread'; nowrap?: boolean; nowrapSmall?: boolean; nowrapMedium?: boolean; nowrapLarge?: boolean; pullPadded?: boolean; cols?: number; colsSmall?: number; colsMedium?: number; colsLarge?: number; } & HTMLAttributes<HTMLDivElement>; /** * */ export declare const Row: FC<RowProps>;