1.7.2 • Published 4 years ago

rivas-lib v1.7.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

A simple library componets for testing purposes for lottoland code challenge.

Rivas-lib

A simple library component 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:

Dropdown

PropsTypeDescription
forLabelstringhtmlFor attribute for the label
titleLabelstringlabel value
options{ display: string; value: string; }options for the select to be populated
onChangeCb() => voidcallback called whenever an option is selected

Table

PropsTypeDescription
columns{id: string; title: string; }columns for the table headers
rows[{key: string: any }]rows for the table rows

Requirements.

NodeJS 12.x previously installed.

How to run in local.

npm install
npm run storybook-yarn

Build.

npm run build

Test.

npm run test

WARN: Upgrade version package before make some push from main branch.

npm version <major|minor|patch>
1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago