0.0.10 • Published 10 years ago
mirana v0.0.10
Mirana
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 installScripts
npm run babel: compile ES2015 codes incomponentsfolder into runnable code inlibnpm run sass: copy*.scssfiles intolibnpm run build: runnpm run babel && npm run sassin production mode
Components documentation
View mirana-docs or README files in every component folder.
Examples
View Online demo or codes on gh-pages.
Feedback
License
The MIT License