FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/ant-design / useThemeToken

Function: useThemeToken()

useThemeToken(): GlobalToken

Hook to retrieve the theme token from the Ant Design theme configuration.

This function uses the theme.useToken method to get the current theme configuration and returns the token property from the configuration.

Returns

GlobalToken

The theme token from the Ant Design theme configuration.