@digital-realty/ix-fab
TypeScript icon, indicating that this package has built-in type declarations

1.1.4-alpha-228982-t51.0 • Public • Published

<ix-fab>

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @digital-realty/ix-fab

Weekly Downloads

0

Version

1.1.4-alpha-228982-t51.0

License

MIT

Unpacked Size

12.4 kB

Total Files

16

Last publish

Collaborators

  • margani
  • dlr-pi-devops
  • ibrahim-dr
  • marcha-dlr
  • nicholasnewlands