@highoutput/hds-array-field
TypeScript icon, indicating that this package has built-in type declarations

0.2.17 • Public • Published

Getting started

We aim to build a library of custom ReactJS components that implements our unique UI design conventions. The ReactJS components will be based primarily on Chakra UI components. React Storybook will be used for documentation and testing.

Commands

To install package, use:

npm i @highoutput/hds-array-field

Usage

import { ArrayField } from '@highoutput/hds-array-field';

export const SamplePage = () => {
  return (
    <>
      <ArrayField
        defaultValues={{
          input: [
            {
              value: '',
            },
          ],
        }}
        maxValue={10}
        onAppend={() => {}}
        onBlur={function noRefCheck() {}}
        onChange={function noRefCheck() {}}
        onRemove={function noRefCheck() {}}
        placeholder="Enter an Input"
      />
    </>
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i @highoutput/hds-array-field

Weekly Downloads

2

Version

0.2.17

License

MIT

Unpacked Size

92.9 kB

Total Files

21

Last publish

Collaborators

  • ccpacillos
  • rrmadjos
  • glvnzn
  • highoutputventures
  • highoutputdev
  • calvojp
  • boniqx09