@vebgen/mui-rff-switch
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

switch

A switch component that you can use in a React-Final-Form.

It has two modes:

  • editing a boolean field, where a single switch is shown and the value is toggled when the switch is clicked,
  • editing an array of arbitrary values, where the value for the field will be an array of unordered values; weather a value is included in the array or not is indicated by the switch being on or off.

Running unit tests

Run pnpm nx test switch to execute the unit tests via Jest.

/@vebgen/mui-rff-switch/

    Package Sidebar

    Install

    npm i @vebgen/mui-rff-switch

    Weekly Downloads

    2

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    12.8 kB

    Total Files

    10

    Last publish

    Collaborators

    • tnick