1.2.2 • Published 10 months ago

@dpa-id-components/dpa-id-appswitcher-react v1.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

DPA-ID Appswitcher react component

React wrapper for the DPA ID Appswitcher.

Install

To add the package to your project run

npm install @dpa-id-components/dpa-id-appswitcher-react

Usage

You can import the component like any other react component.

import React, { useState } from 'react';
import { DpaIdAppswitcher, defineCustomElements } from '@dpa-id-components/dpa-id-appswitcher-react';

defineCustomElements();

function Example() {
  return (
    <div>
      <DpaIdAppswitcher></DpaIdAppswitcher>
    </div>
  );
}

Properties

PropertyAttributeDescriptionTypeDefault
arrowDistanceRightarrow-distance-rightDistance of the arrow from the right borderstring'1rem'
backgroundColorbackground-colorColor of the backgroundstring'#fff'
fontColorfont-colorColor of the fontstring'rgb(33, 33, 33)'
iconColoricon-colorColor of the iconstring'rgb(33, 33, 33)'
outerSizeouter-sizeInner size of the iconnumber24
overlayRightoverlay-rightDistance of the overlay from the right border of the wrapperstring'0'
overlayTopoverlay-topDistance of the overlay from the bottom border of the wrapperstring'30px'
1.2.0

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago