blob: 33db7686e0f2d5c7b1d8ffa6879e83a7ef1b6ee0 (
plain)
1
2
3
4
5
6
7
8
9
|
import { DEFAULT_TH_CLASSES } from './constants';
/**
* Generates the table header classes to be used for GlTable fields.
*
* @param {Number} width - The column width as a percentage.
* @returns {String} The classes to be used in GlTable fields object.
*/
export const thWidthClass = (width) => `gl-w-${width}p ${DEFAULT_TH_CLASSES}`;
|