core3-utils

@wixc3/common on Github

Home > @wixc3/common > toCSSKebabCase

toCSSKebabCase() function

like toKebabCase(), but prepends ‘-‘ if first character of input is UpperCase

Signature:

export declare function toCSSKebabCase(str: string): string;

Parameters

Parameter Type Description
str string

Returns:

string