Socket
Socket
Sign inDemoInstall

antd-token-previewer

Package Overview
Dependencies
207
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    antd-token-previewer

Ant Design token previewer


Version published
Maintainers
1
Install size
39.9 MB
Created

Readme

Source

antd-token-previewer 🖥

Help you customize theme in Ant Design.

image

Live Demo

https://ant-design.github.io/antd-token-previewer/

Install

npm i antd-token-previewer

Usage

Ref: https://ant-design.github.io/antd-token-previewer/editor

API

ThemeEditor

PropertyDescriptionTypeDefault
themeControlled Theme objectTheme-
onThemeChangeCallback when theme changed(theme: Theme) => void-
localeLanguage used in ThemeEditorLocalezhCN
actionsActions displayed on the right of headerReact.ReactNode-
advancedAdvance modeboolean-
onAdvancedChangeCallback when advanced change(advanced: booleaen) => void-
childrenPreview area.ReactNode-

Theme

PropertyDescriptionType
nameName of Themestring
keyUsed as key for ReactElementstring
configTheme config of antdThemeConfig

Development

npm install
npm start

License

antd-token-previewer is released under the MIT license.

Keywords

FAQs

Last updated on 06 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc