UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

16 lines (15 loc) 931 B
/** * Component that maps directly to CSS grid properties using styled-system. */ import { ReactNode } from 'react'; import { AlignItemsProps, GridAreaProps, GridColumnGapProps, GridColumnProps, GridRowGapProps, GridRowProps, HeightProps, JustifyContentProps, JustifyItemsProps, SpaceProps, TextAlignProps, WidthProps } from 'styled-system'; declare type BaseCellProps = GridRowGapProps & GridRowProps & GridColumnGapProps & GridColumnProps & GridAreaProps & WidthProps & HeightProps & SpaceProps & TextAlignProps & AlignItemsProps & JustifyItemsProps & JustifyContentProps; export interface CellProps extends BaseCellProps { children?: ReactNode; } /** * A Cell is a child of the Grid Component. It allows items to be specifically displayed in one or multiple * cells of a grid. It maps directly to the CSS Grid spec. */ export declare const Cell: ({ children, ...props }: CellProps) => JSX.Element; export default Cell;