UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

10 lines (9 loc) 372 B
export declare function hyphenate(str: string): string; /** * 将组件的props转为属性字符串以便拼接到html标签中 * 仅在__docs__/__case__/ 中使用 * @param props 组件的props * @param exclude 不转化的props属性名 * @returns 属性字符串 */ export declare function propsToAttrStr(props: Record<string, any>, exclude?: string[]): string;