Mile Two UI
Welcome to Mile Two's component library. This library is comprised of common components we use across applications. We primarily leverage react with material ui components but when we find ourselves making custom components that have more than one application use we come here to share them
Documentation
Generated using styleguidist
Quick Start
npm i @miletwo/ui
- @emotion/react
- @emotion/styled
- @mui/material
- react
- react-dom
- react-icons
react
and material ui
import React from 'react';
import { Banner } from '@miletwo/ui';
function Page({}) {
return (
<Banner label="Hello World" color="#ffffff" bgColor="#2f3faa">
Hello World
</Banner>
);