1.0.11 • Published 1 year ago

@tabui/icons-react v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Installation

npm install @tabui/icons
npm install @tabui/icons-react

or

yarn add @tabui/icons
yarn add @tabui/icons-react

Use

Single icon

import { TIcon } from '@tabui/icons-react';
import { aifAU } from '@tabui/icons';

...
render() {
  return (
    <TIcon icon={ailList} size="xxl"/>
  )
}
...

All icons

import { TIcon } from '@tabui/icons-react';
import * as icon from '@tabui/icons';

...
render() {
  return (
    <TIcon icon={icon.ailList} size="xxl"/>
  )
}
...

API

propertytypedescription
classNamestringA string of all className you want applied to the component.
customClassNamestring | object | string[]Use for replacing default TIcon component classes. Prop is overriding the 'size' prop.
iconstring | string[]Name of the icon placed in React object or SVG content.
heightnumberThe height attribute defines the vertical length of an icon.
sizesm | md |lg | xl | xxl | 3xl | 4xl | 5xl | 6xl | 7xl | 8xl | 9xlSize of the icon.
usestringIf defined component will be rendered using use tag.
titlestringTitle tag content.
widthnumberThe width attribute defines the horizontal length of an icon.