3.4.9 • Published 1 year ago

@lendi-ui/fancy-icon v3.4.9

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

@lendi-ui/fancy-icon

Adding a new icon

Add the SVG into src/fancy-icons. Be thoughtful with naming, as this will determine the name of the component. For example, the file computer-bank will create a SVG component called computerBank (note that the kebab-case filename will become a camelCase component).

To add a new alias, navigate to the ./build/alias.json file and add the key as the original file name (in pascal case) and give it an array with all the alias' to add.

When this package is built, an equivalent react component will be created in src/fancy-icons-compiled.

Installation

yarn add @lendi-ui/fancy-icon

Usage example

import { Relax } from '@lendi-ui/fancy-icon';

<Relax />;

Properties

<PropTable>
  <PropTable.Entry name="className" type="string" description="External classname to override style of the component"/>
  <PropTable.Entry name="height" defaultValue="16px" type={`string`} description="The Icon height"/>
  <PropTable.Entry name="width" defaultValue="16px" type={`string`} description="The Icon width"/>
</PropTable>
3.4.9

1 year ago

3.4.10-beta.0

1 year ago

3.4.8

2 years ago

3.4.9-beta.0

2 years ago

3.4.8-beta.0

2 years ago

3.4.8-canary.0

2 years ago

3.4.7

2 years ago

3.4.6

2 years ago

3.4.7-beta.0

2 years ago

3.4.5-canary.1

2 years ago

3.4.4-beta.0

2 years ago

3.4.3-beta.1

2 years ago

3.4.5

2 years ago

3.4.3-beta.2

2 years ago

3.4.4

2 years ago

3.4.3

2 years ago

4.0.0-beta.2

2 years ago

3.4.6-beta.0

2 years ago

3.4.5-beta.0

2 years ago

3.4.3-beta.0

2 years ago

3.4.2

3 years ago

3.4.1

3 years ago

3.4.0

3 years ago

3.3.6

4 years ago

3.3.5

4 years ago

3.3.4

4 years ago

3.3.3

4 years ago

3.3.2

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

4.0.0-beta.0

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0-alpha

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago