mirana

0.0.10 • Public • Published

Mirana

NPM version npm download

A collection of react components.

It's not ready until the first pre-release

Install

npm install mirana [--save]

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import Mirana from 'mirana';
 
const { Breadcrumb } = Mirana;
 
ReactDOM.render(
    <Breadcrumb data={[{ url: '/', name: 'foo'}]} />,
    document.getElementById('foo')
);

Development

git clone git@github.com:SFantasy/mirana.git
cd mirana && npm install

Scripts

  • npm run babel: compile ES2015 codes in components folder into runnable code in lib
  • npm run sass: copy *.scss files into lib
  • npm run build: run npm run babel && npm run sass in production mode

Components documentation

View mirana-docs or README files in every component folder.

Examples

View Online demo or codes on gh-pages.

Feedback

Issues

License

The MIT License

Package Sidebar

Install

npm i mirana

Weekly Downloads

2

Version

0.0.10

License

MIT

Last publish

Collaborators

  • fantasyshao