UNPKG

react-classnaming

Version:

Tools to establish CSS classes as an explicit abstraction layer and to handle it as an interface between React and CSSStyleDeclaration

9 lines (8 loc) 337 B
import type { BemInGeneral } from "./bem.types"; export declare type BemOptions = { elementDelimiter: string; modDelimiter: string; }; export { bem2arr, setOptions }; declare function bem2arr(query: BemInGeneral): string[]; declare function setOptions({ elementDelimiter: elD, modDelimiter: modDel }: Partial<BemOptions>): void;