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)

49 lines (48 loc) 1.11 kB
/** * @file index.tsx * * @fileoverview Displays a table cell. A specific cell of type th or td can also be used. */ import React from 'react'; interface TableCellProps { /** * Text for the button * * @default null */ children?: React.ReactNode; /** * Which component to render as the cell. * * @default td */ component?: string; /** * If the cell should be sticky. * * @default false */ sticky?: boolean; /** * Table head cells can be sticky vertically or horizontally. To stick horizontal set to true. * * @default false */ stickyCol?: boolean; /** * Vertical alignment for the table cell. * * @default 'baseline' */ verticalAlign?: string; /** * Text alignment for the table cell. */ textAlign?: string; /** * If Cell should be hidden for small devices. */ hideSm?: boolean; } export declare const TableCell: ({ children, component, verticalAlign, textAlign, hideSm, sticky, stickyCol }: TableCellProps) => JSX.Element; export {};