vue-city-pinyin
Version:
City selection package
9 lines (8 loc) • 327 B
TypeScript
type BEMType = string | [string, 'B' | 'E' | 'M', ...unknown[]];
export default function useClassName(componentName: string): {
c: (...arg: BEMType[]) => string;
ce: (e: string) => BEMType;
cm: (m: string) => BEMType;
cx: (cls: () => Record<string, boolean>) => import('vue').ComputedRef<string>;
};
export {};