UNPKG

@atlaskit/dynamic-table

Version:

A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.

6 lines 186 B
const CSS_VAR_WIDTH = '--local-dynamic-table-width'; export const getTruncationStyleVars = ({ width }) => typeof width !== 'undefined' ? { [CSS_VAR_WIDTH]: `${width}%` } : undefined;