UNPKG

@types/fbjs

Version:
15 lines (12 loc) 349 B
/** * Hyphenates a camelcased string, for example: * * > hyphenate('backgroundColor') * < "background-color" * * For CSS style names, use `hyphenateStyleName` instead which works properly * with all vendor prefixes, including `ms`. */ declare function hyphenate(str: string): string; declare namespace hyphenate {} export = hyphenate;