mirana

a collection of react components.

Usage no npm install needed!

<script type="module">
  import mirana from 'https://cdn.skypack.dev/mirana';
</script>

README

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