jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
49 lines (48 loc) • 1.11 kB
TypeScript
/**
* @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 {};