@sb1/ffe-account-selector-react
v24.0.9
Published
Selector for bank accounts with autocomplete.
Downloads
1,391
Keywords
Readme
@sb1/ffe-account-selector-react
A combobox with autocomplete tailored for bank accounts.
Install
npm install --save @sb1/ffe-account-selector-react
Usage
Full documentation on account selector usage is available at https://design.sparebank1.no/komponenter/kontovelger/.
For styling the account-selector use:
@import 'path/to/node_modules/@sb1/ffe-account-selector-react/less/account-selector';
For custom components:
@import 'path/to/node_modules/@sb1/ffe-account-selector-react/less/base-selector';
FFE less Dependencies:
@import '~ffe-searchable-dropdown-react/less/searchable-dropdown';
TypeScript definition files
This component supports TypeScript - please keep in mind updating index.d.ts
if you change any
of the external methods or properties in this component.
Development
To start a local development server, run the following from the designsystem root folder:
npm install
npm run build
npm start
A local instance of component-overview
with live reloading will run at http://localhost:1234/.
Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.