A simple library componets for testing purposes for lottoland code challenge.
This library is composed of several components to be used in your projects. Now let's describe the components implemented so far:
Props | Type | Description |
---|---|---|
forLabel | string | htmlFor attribute for the label |
titleLabel | string | label value |
options | [{ display: string; value: string; }] | options for the select to be populated |
onChangeCb | () => void | callback called whenever an option is selected |
Props | Type | Description |
---|---|---|
columns | [{id: string; title: string; }] | columns for the table headers |
rows | [{[key: string]: any }] | rows for the table rows |
NodeJS 12.x previously installed.
npm install
npm run storybook-yarn
npm run build
npm run test
npm version <major|minor|patch>