MCPcopy Create free account
hub / github.com/DTStack/molecule / prefixClaName

Function prefixClaName

src/common/className.ts:11–13  ·  view source on GitHub ↗
(name: string, prefix: string = APP_PREFIX)

Source from the content-addressed store, hash-verified

9 * @param prefix The prefix of class name you want to append
10 */
11export function prefixClaName(name: string, prefix: string = APP_PREFIX) {
12 return name ? `${prefix}-${name}` : '';
13}
14
15export function classNames(...args) {
16 if (isEmpty(args)) return;

Callers 15

workbench.tsxFile · 0.90
index.tsxFile · 0.90
index.tsxFile · 0.90
base.tsFile · 0.90
panel.tsxFile · 0.90
output.tsxFile · 0.90
sidebar.tsxFile · 0.90
base.tsFile · 0.90
SearchPanelFunction · 0.90
base.tsFile · 0.90
base.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected