Skip to content

useStyle ​

useStyle 是基础工具函数,提供了样式方法。

API ​

Style Methods ​

方法名说明参数示例
variables提供项目的全局样式配置一console.log(variables.namespace);
getPrefixCls生成组件 CSS 类名前缀的工具函数(string)getPrefixCls('button'); => 'guava-button'