UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

13 lines (12 loc) 405 B
/** * You can use this `camelCase` function to convert a string to camel case. For example: * * ```typescript * console.log(camelCase('foo bar')); // Output: 'fooBar' * console.log(camelCase('hello-world')); // Output: 'helloWorld' * console.log(camelCase('foo_bar_baz')); // Output: 'fooBarBaz' * ``` * @param str * @returns */ export declare function camelCase(str: string): string;