jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
45 lines (44 loc) • 910 B
TypeScript
/**
* 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;