mh_system
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

mh_system

  • Reusable frontend components from the alpha repo

Documentation

Installation

npm install --save mh_system

or

yarn add --save mh_system

Usage

  • Note: You'll need to import the global stylesheet at the top of your app.

Global stylesheet

import 'mh_system/dist/index.css' // stylesheet

import React from 'react'
import ReactDOM from 'react-dom'

import { App } from './App'

ReactDOM.render(<App />, document.getElementById('root'))

Components

import {
  Button,
  Gradient,
  H4,
  Input,
  Spinner,
} from 'mh_system'

const App = () => {
  return (
    <div>
      <Gradient />
      <H4>Sample Components</H4>
      <Input label="Sample Label" name="Sample Name" />
      <Button children="Sample" />
      <Spinner children="Sample" />
    </div>
  )
}

Dependencies (5)

Dev Dependencies (27)

Package Sidebar

Install

npm i mh_system

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

184 kB

Total Files

32

Last publish

Collaborators

  • mhjack