1.0.4 • Published 4 years ago
antd-gui v1.0.4
Getting Started
Install with yarn
yarn add antd-guiOr you can
npm install antd-guiOr inject the script at your page by jsdelivr CDN
<script src="https://cdn.jsdelivr.net/npm/antd-gui@latest/dist/index.min.js"></script>🚀 Usage
You can import the darkmode as a react component.
import React from 'react';
import { useControls } from 'antd-gui';
export default () => {
const { name, aNumber } = useControls({ name: 'World', aNumber: 0 });
return (
<div>
Hey {name}, hello! {aNumber}
</div>
);
};🔢 Coming Soon
- add the material design styling in switch
- followSystemColorScheme
- localstorge
- playground for editing the config online
🔨 Contribute
Install dependencies,
$ npm iStart the dev server,
$ npm startBuild documentation,
$ npm run docs:buildBuild library via father-build,
$ npm run build❤️ Contributors
Thanks goes to these people (emoji key):