UNPKG

classjoin

Version:

A bit simpler utility for conditionally joining classNames together

6 lines (5 loc) 214 B
declare function classJoin(withConditions: ClassNamesList, withoutConditions?: string[]): string; export interface ClassNamesList { [key: string]: boolean | undefined | null; } export { classJoin as default };