0.0.39 • Published 2 years ago
@finastra/button-toggle v0.0.39
Button Toggle
Button toggles are on/off toggles with the appearance of a button.
We created two types of button toggle, a default usable with the <fds-button-toggle>
selector and a filter usable with <fds-button-toggle-filter>
selector.
Usage
Import
npm i @finastra/button-toggle
import '@finastra/button-toggle';
...
<fds-button-toggle label="toggle" icon="camera"></fds-button-toggle>
Pure HTML pages
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<script src="https://cdn.jsdelivr.net/npm/@finastra/button-toggle/dist/fds-button-toggle.js"></script>
<fds-button-toggle label="toggle" icon="camera"></fds-button-toggle>
<fds-button-toggle-filter label="label" icon="event"></fds-button-toggle-filter>