@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
20 lines (19 loc) • 1.03 kB
TypeScript
/// <reference types="react" />
import * as StyledSystem from 'styled-system';
import { BoxProps } from '../box';
interface GridPropsBase {
templateColumns?: StyledSystem.GridTemplateColumnsProps['gridTemplateColumns'];
gap?: StyledSystem.GridGapProps['gridGap'];
rowGap?: StyledSystem.GridRowGapProps['gridRowGap'];
columnGap?: StyledSystem.GridColumnGapProps['gridColumnGap'];
autoFlow?: StyledSystem.GridAutoFlowProps['gridAutoFlow'];
autoRows?: StyledSystem.GridAutoRowsProps['gridAutoRows'];
autoColumns?: StyledSystem.GridAutoColumnsProps['gridAutoColumns'];
templateRows?: StyledSystem.GridTemplateRowsProps['gridTemplateRows'];
templateAreas?: StyledSystem.GridTemplateAreasProps['gridTemplateAreas'];
area?: StyledSystem.GridAreaProps['gridArea'];
column?: StyledSystem.GridColumnProps['gridColumn'];
row?: StyledSystem.GridRowProps['gridRow'];
}
export declare type GridProps = BoxProps & GridPropsBase & React.RefAttributes<HTMLElement>;
export {};