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)

45 lines (44 loc) 910 B
/** * Renders a grid cell inside a container of display "grid". * * This component was taken / inspired by https://styled-css-grid.js.org/ */ export interface CellProps { /** * Class to give the cell. */ className?: string; /** * Width for the cell. */ width?: number; /** * Height for the cell. */ height?: number; /** * Top alignment. */ top?: number | string; /** * Left alignment. */ left?: number | string; /** * If should be aligned to middle. */ middle?: boolean; /** * If should be centered. */ center?: boolean; /** * Area to place the cell (according to CSS Grid spec). */ area?: string; } /** * A CSS Grid individual cell. */ export declare const Cell: import("styled-components").StyledComponent<"div", any, CellProps, never>; export default Cell;