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

Function getExpandClass

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

Source from the content-addressed store, hash-verified

29};
30
31const getExpandClass = (expand) => {
32 if (expand === false) {
33 return false;
34 }
35 if (expand === true || expand === 'xs') {
36 return 'navbar-expand';
37 }
38
39 return `navbar-expand-${expand}`;
40};
41
42function Navbar(props) {
43 const {

Callers 1

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