0.1.4 • Published 2 years ago

megacosm v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Features

  • A concise and friendly API
  • A set of high-performance React components out of the box.
  • Always backward compatible
  • Flexible theme customization

Requirements

react >= 16.0.0
react-dom >= 16.0.0

Browsers support

IE / EdgeFirefoxChromeSafariOperaElectron
IE10, IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

Installation

yarn add megacosm

// or

npm install megacosm

CDN

<link rel="stylesheet" href="https://unpkg.com/megacosm/dist/theme.default.css" />
<script crossorigin src="https://unpkg.com/megacosm/dist/megacosm.min.js"></script>

Usage

import { Button } from 'megacosm';

<Button />

And import style manually:

import 'megacosm/dist/theme.default.css' 
// or 'megacosm/dist/theme.antd.css'

Internationalization

See i18n

Links

Development

clone locally:

$ git clone git@github.com:MegaCosm/MegaCosm.git
$ cd megacosm
$ yarn
$ yarn start

Open your browser and visit http://localhost:3000

LICENSE

MIT