1.1.2-dev • Published 1 year ago

ibd-ui-component-library v1.1.2-dev

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ibd-ui-component-library

IDB react UI components

Features

  • ES6 syntax, managed with Prettier + Eslint
  • Typescript
  • React 17

Install

yarn add ibd-ui-component-library
// or
npm i ibd-ui-component-library

Requirements

  • React 17
  • styled-components

Usage

import { SearchPicker } from "ibd-ui-component-library";
import ReactDom from "react-dom";
import { App } from "./App";

ReactDom.render(
  <App>
    <SearchPicker
      locked={readOnly}
      placeholder="Select Wolfsberg Questionnaire Countries"
      leftButtonProps={{
        label: 'Cancel'
      }}
      rightButtonProps={{
        label: 'Ok'
      }}
      defaultValue={defaultCountries}
      multiple
      label="Wolfsberg Questionnaire Countries"
      name={wolfsbergQuestionnaireCountries}
      options={countriesAsOptions}
      onSelect={(selected) => {
        const selectedValue = selected.map((s) => s.value);
        handleOnChange(wolfsbergQuestionnaireCountries, selectedValue);
      }}
      icon={null}
    />
  </App>,
  document.getElementById("root")
);
1.1.2-dev

1 year ago

8.641.2

1 year ago

7.640.2

1 year ago

6.639.2

1 year ago

5.638.2

1 year ago

4.637.2

1 year ago

3.636.2

1 year ago

2.635.2

1 year ago

1.634.2

1 year ago

1.0.1-dev

1 year ago

8.640.1

1 year ago

7.639.1

1 year ago

6.638.1

1 year ago

5.637.1

1 year ago

4.636.1

1 year ago

3.635.1

1 year ago

2.634.1

1 year ago

1.633.1

1 year ago