BME-UI
Quick-links
npm
storybook
Installation
Use the package manager npm or yarn to install BME-UI.
yarn add bme-ui
npm install --save bme-ui
Due to styled-compopnents issue you need to add manually styles:
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');
@import url('https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css');
Usage
import React from 'react';
import { BMEText } from 'bme-ui';
const Foo: React.FunctionComponent = () => <BMEText>Hello world</BMEText>
export default Foo;
More about usage: storybook
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
MIT
Credits
*leungwensen/svg-icon