Simple button library using bootstrap button styling.
npm install --save mojibu
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' />
</>
)
}
}
MIT © ugurkiymetli