Skip to content
On this page

toKebabCase

将命名转换为短横线命名

使用

js
import { toKebabCase } from '@pinos-ui/utils'

代码示例

参数说明

参数名说明类型必传默认值
value要转换的值string-

类型声明

js
export declare function toKebabCase(value: string): string;