1.0.1 • Published 3 years ago
mojibu v1.0.1
mojibu
Simple button library using bootstrap button styling.
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