Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ slug
Function
slug
src/components/common/ComponentList.jsx:73–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
};
72
73
const slug = str => (str ||
''
).replace(/\s+/g,
'-'
).toLowerCase();
74
const fromPascal = str =>
75
(str ||
''
)
76
.replace(/([a-z0-9])([A-Z])/g,
'$1 $2'
)
Callers
1
cellRenderer
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected