react-iaux
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

ღ react-iaux

一个React UI Library, 使用简单

npm deps license last-commit release prs download

Get Started ☆

install

npm i -S react-iaux

Usage

import React from 'react';
import { Button } from 'react-iaux';

export default function() {
  return (
    <div className="dc-btn-line">
      <Button onClick={() => console.log('Hello React')}>Get Started</Button>
    </div>
  );
}

Load on demand

  • direct import
import Button from 'react-iaux/es/button';
  • with babel-import-plugin
module.exports = {
  'plugins': [
    [
      'import',
      {
        'libraryName': 'react-iaux',
        'libraryDirectory': 'es',
        'style': true,
        'camel2DashComponentName': false,
        'customName': name => {
          return `react-iaux/es/${[name[0].toLowerCase(), name.substr(1)].join('')}`;
        },
      },
    ],
}

LICENSE

The MIT License (MIT)

Readme

Keywords

Package Sidebar

Install

npm i react-iaux

Weekly Downloads

1

Version

2.0.1

License

none

Unpacked Size

1.63 MB

Total Files

1092

Last publish

Collaborators

  • ixw2017