Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dragon-ui

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dragon-ui

基于 React 的桌面端UI库

  • 1.0.0-alpha.30
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by125%
Maintainers
1
Weekly downloads
 
Created
Source

dragon-ui

基于React的UI组件库。

Install 安装

npm install dragon-ui --save

Usage 使用

  • 全组件引入
import { Button, Cell } from 'dragon-ui';
import 'dragon-ui/dist/dragon-ui.min.css';
  • 按需引入

方法一

使用 babel-plugin-import 自动加载Sass文件

  // .babelrc or babel-loader option
  {
    "plugins": [
      ['import', {
        libraryName: 'dragon-ui',
        style: true,
      }],
    ]
  }
import { Button, Cell } from 'dragon-ui';

方法二

import Button from 'dragon-ui/lib/Button';
import 'dragon-ui/lib/Button/style';

Examples & Docs 示例和文档

中文

License

MIT

Keywords

FAQs

Package last updated on 12 Nov 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc