mojibu

Simple button library using bootstrap button styling.

NPM JavaScript Style Guide

Install

npm install --save mojibu

Usage

import React, { Component } from 'react'

import { Button } from 'mojibu'
import 'mojibu/dist/index.css'

class Example extends Component {
  render() {
    return (
      <>
        <Button type='btnPrimary' />
        <Button type='btnSecondary' />
        <Button type='btnSuccess' />
        <Button type='btnInfo' />
        <Button type='btnWarning' />
        <Button type='btnDanger' />
        <Button type='btnLight' />
        <Button type='btnDark' />
        <Button type='btnLink' />
      </>
    )
  }
}

License

MIT © ugurkiymetli