0.2.3 • Published 1 year ago
@tabula/ui-data-type-icon v0.2.3
@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-iconUsage
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.