MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / getColumnSizeClass

Function getColumnSizeClass

src/Label.js:42–51  ·  view source on GitHub ↗
(isXs, colWidth, colSize)

Source from the content-addressed store, hash-verified

40};
41
42const getColumnSizeClass = (isXs, colWidth, colSize) => {
43 if (colSize === true || colSize === '') {
44 return isXs ? 'col' : `col-${colWidth}`;
45 }
46 if (colSize === 'auto') {
47 return isXs ? 'col-auto' : `col-${colWidth}-auto`;
48 }
49
50 return isXs ? `col-${colSize}` : `col-${colWidth}-${colSize}`;
51};
52
53function Label(props) {
54 const {

Callers 1

LabelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…