1.0.9 • Published 13 days ago

@digital-realty/ix-fab v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
13 days ago

\

This webcomponent follows the open-wc recommendation.

Installation

npm i @digital-realty/ix-fab

Usage

An IxFab expects an icon in it's slot element to render the component correctly.

The icon can be from any icon library, an image or an svg.

<script type="module">
  import '@digital-realty/ix-fab';
</script>

<ix-fab>
  <md-icon>...</md-icon>
</ix-fab>

In React

  import { IxFab } from '@digital-realty/ix-fab/IxFab'

  <IxFab>
    <Icon>...</Icon>
  </IxFab>

Linting and formatting

To scan the project for linting and formatting errors, run

npm run lint

To automatically fix linting and formatting errors, run

npm run format

Testing with Web Test Runner

To execute a single test run:

npm run test

To run the tests in interactive watch mode run:

npm run test:watch

Demo and Documentation

Full documentation and demo are available at DLR Component Gallery.

1.0.9

13 days ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

8 months ago