MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / getHorizontalClass

Function getHorizontalClass

src/ListGroup.js:21–29  ·  view source on GitHub ↗
(horizontal)

Source from the content-addressed store, hash-verified

19};
20
21const getHorizontalClass = (horizontal) => {
22 if (horizontal === false) {
23 return false;
24 }
25 if (horizontal === true || horizontal === 'xs') {
26 return 'list-group-horizontal';
27 }
28 return `list-group-horizontal-${horizontal}`;
29};
30
31function ListGroup(props) {
32 const {

Callers 1

ListGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…