@highoutput/hds-array-field
v0.2.17
Published
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.
Downloads
84
Keywords
Readme
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"
/>
</>
);
};