1.0.10 • Published 1 year ago

@bitbybit-packages/bbb-ui v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

web-bbb-components

Setup:

  1. yarn add @bitbybit-packages/bbb-ui @bitbybit-packages/bbb-ui-plugins
  2. Add the plugins on your tailwind.config.js:
// tailwind.config.js

module.exports = {
    //...
    plugins: [
        require('@bitbybit-packages/bbb-ui-plugins')
    ]
}
  1. Import it in your files. For example:
<BBBSelect
  options={optionsNumber}
  value={value}
  onValueChange={onChange}
  placeholder="Number to display"
  error={(errors.displayed_number as FieldError)?.message}
  optionLabel="label"
  optionValue="value"
 />