Skip to content
Guava Docs
Main Navigation
Home
Examples
API
Build
Version
Frontend v0.3.6
Backend v0.0.1
FAQ
Appearance
Menu
Return to top
On this page
useStyle
useStyle 是基础工具函数,提供了样式方法。
API
Style Methods
方法名
说明
参数
示例
variables
提供项目的全局样式配置
一
console.log(variables.namespace);
getPrefixCls
生成组件 CSS 类名前缀的工具函数
(string)
getPrefixCls('button'); => 'guava-button'