grid-tabulator.converttokebabcase
Home > @genesislcap/grid-tabulator > convertToKebabCase
convertToKebabCase() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Convert a string to kebab case Example: convertToKebabCase('helloWorld') // 'hello-world'
Signature:
export declare function convertToKebabCase(str: string): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
str |
string |
The string to convert |
Returns:
string
The converted string