A combobox with autocomplete tailored for bank accounts.
npm install --save @sb1/ffe-account-selector-react
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';
@import '~ffe-searchable-dropdown-react/less/searchable-dropdown';
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.
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.