@kinan-x/core
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@bund-x/core

Master Components Core Library

NPM jsdelivr install publish min min dependencies tree-shaking types build JavaScript Style Guide license follow keybase

runkit - jsconsole - bundlephobia - unpkg - jsdeliver - openbase - network

Install

npm install --save @bund-x/core

Usage

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

Dependencies (14)

Dev Dependencies (3)

Package Sidebar

Install

npm i @kinan-x/core

Weekly Downloads

38

Version

0.1.2

License

MIT

Unpacked Size

1.05 MB

Total Files

215

Last publish

Collaborators

  • kinan-x