@miletwo/ui
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

Mile Two UI

NPM Build Status Coverage

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

🚨 By installing our ui components you will also install the following peer dependencies

  • @emotion/react
  • @emotion/styled
  • @mui/material
  • react
  • react-dom
  • react-icons

⚠️ Note that all these dependencies will already be included if you are using 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>
    );

Dependents (0)

Package Sidebar

Install

npm i @miletwo/ui

Weekly Downloads

2

Version

2.1.1

License

MIT

Unpacked Size

73.4 kB

Total Files

17

Last publish

Collaborators

  • justin.dunham
  • keonik