@tabula/ui-data-type-icon
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@tabula/ui-data-type-icon

Icons for data types.

Installation

Use the package manager pnpm to install @tabula/ui-data-type-icon.

pnpm add @tabula/ui-data-type-icon

You can use npm or yarn too.

Usage

You can use icon as React component.

import { UiArrayIcon } from '@tabula/ui-data-type-icon';

function ComponentWithIcon() {
  return <UiArrayIcon />
}

Or you can import icon URL which should be resolved by yours bundler:

import { uiArrayIconUrl } from "@tabula/ui-data-type-icon";

Also, if you use Vite, you can use icon in your styles too:

.awesome-component {
  background-image: url('@tabula/ui-data-type-icon/array.svg');
}

License

This project is ISC licensed.

Package Sidebar

Install

npm i @tabula/ui-data-type-icon

Weekly Downloads

48

Version

0.2.2

License

ISC

Unpacked Size

47 kB

Total Files

21

Last publish

Collaborators

  • tabula