New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

antd-gui

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd-gui

A React Hook for adding a dark / night mode to your site inspired by darkreader

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

antd-gui

Antd GUI

🎛️ A GUI editor for ant design application.

npm npm dumi license jsdelivr

Live Demo ✨ https://antd-gui.vercel.app

Getting Started

Install with yarn

yarn add antd-gui

Or you can

npm install antd-gui

Or 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 i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Build library via father-build,

$ npm run build

❤️ Contributors

Thanks goes to these people (emoji key):


Turkyden

💻📖🚇⚠️

KnowsCount

📖

License

MIT

Keywords

react

FAQs

Package last updated on 11 May 2021

Did you know?

Socket

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