@bund-x/core
Version:
Master Components Core Library
64 lines (52 loc) • 2.29 kB
Markdown
# @bund-x/core
> Master Components Core Library
[](https://www.npmjs.com/package/@bund-x/core)
[](ttps://www.jsdelivr.com/package/npm/@bund-x/core)








[](https://standardjs.com)

[](https://twitter.com/go_beyound)
[](https://keybase.io/microbot)
[runkit](https://npm.runkit.com/@bund-x/core) -
[jsconsole](https://jsconsole.com/) -
[bundlephobia](https://bundlephobia.com/result?p=@bund-x/core) -
[unpkg](https://unpkg.com/browse/@bund-x/core/) -
[jsdeliver](https://www.jsdelivr.com/package/npm/@bund-x/core) -
[openbase](https://openbase.io/js/@bund-x/core) -
[network](https://npm.anvaka.com/#/view/2d/%2540bund-x%252Fcore)
## Install
```bash
npm install --save @bund-x/core
```
## Usage
```jsx
import React, { Component } from 'react'
import Button from '@bund-x/core/Button'
class App extends Component {
render() {
return (
<Button
color="primary" // 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark'
shape="round" // 'round', 'square'
variant="solid" // 'solid', 'outline', 'text', 'contained'
href="/path/to/route"
size="md" // 'xs', 'sm', 'md', 'lg', 'xl'
type="submit" // 'button', 'reset', 'submit'
startIcon={<i className="fa fa-home" />}
endIcon={<i className="fa fa-home" />}>
children
</Button>
)
}
}
export default App
```
## License
MIT © [bund-xyz](https://github.com/bund-xyz/core)