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

Function getVerticalClass

src/Nav.js:31–40  ·  view source on GitHub ↗
(vertical)

Source from the content-addressed store, hash-verified

29};
30
31const getVerticalClass = (vertical) => {
32 if (vertical === false) {
33 return false;
34 }
35 if (vertical === true || vertical === 'xs') {
36 return 'flex-column';
37 }
38
39 return `flex-${vertical}-column`;
40};
41
42function Nav(props) {
43 const {

Callers 1

NavFunction · 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…