UNPKG

@bund-x/core

Version:

Master Components Core Library

64 lines (52 loc) 2.29 kB
# @bund-x/core > Master Components Core Library [![NPM](https://badgen.net/npm/v/@bund-x/core)](https://www.npmjs.com/package/@bund-x/core) [![jsdelivr](https://badgen.net/jsdelivr/v/npm/@bund-x/core)](ttps://www.jsdelivr.com/package/npm/@bund-x/core) ![install](https://badgen.net/packagephobia/install/@bund-x/core) ![publish](https://badgen.net/packagephobia/publish/@bund-x/core) ![min](https://badgen.net/bundlephobia/min/@bund-x/core) ![min](https://badgen.net/bundlephobia/minzip/@bund-x/core) ![dependencies](https://badgen.net/bundlephobia/dependency-count/@bund-x/core) ![tree-shaking](https://badgen.net/bundlephobia/tree-shaking/@bund-x/core) ![types](https://badgen.net/npm/types/@bund-x/core) ![build](https://img.shields.io/badge/build-success-green) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/standard/f2a)](https://standardjs.com) ![license](https://badgen.net/badge/license/MIT/blue) [![follow](https://badgen.net/twitter/follow/go_beyound)](https://twitter.com/go_beyound) [![keybase](https://badgen.net/keybase/pgp/microbot)](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)