mediatr-universe
v1.0.0-alpha.61
Published
[![alt](https://raw.githubusercontent.com/allangomessl/universe-ui/master/static/full-logo.png)](https://allangomessl.github.io/universe-ui)
Downloads
2
Readme
Any Colour You Like
:warning: THIS PROJECT IS UNDER DEVELOPMENT: we don't recommend its use in production yet!
Why?
- Write less do more, without miss flexiblity
- This Library has a proporse to be simple of use
- Who uses doesn't need write a custom css for simple custom or position
How to Install
# NPM
npm i universe-ui
# YARN
yarn add universe-ui
Configure
Routing
If you use any Router like react-router
you can do setup below to use Routing in your components
import { Link } from 'universe-ui';
import { Link as RouterLink } from 'react-router-dom';
Link.initialize(RouterLink);
// and after
<Link to="path" /> // render as Router Link
<Button to="path" /> // render as Router Link
<Button href="path" /> // render as normal anchor
Icons
This Library uses FortAwesome
to render icons and you need to specify which you want in you index
, App
or whatever
file
import { library } from '@fortawesome/fontawesome-svg-core'
import { faPlus } from '@fortawesome/free-solid-svg-icons'
library.add(faPlus)
// or if you want all free solid svg icons
import { fas } from '@fortawesome/free-solid-svg-icons'
library.add(fas)