@axa-fr/react-toolkit-icon
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

Icon

Get started

npm i "@axa-fr/react-toolkit-icon"

Props

  • icon: string - Name of the icon contained in the icons.svg file.
  • basePath?: string - Default is root ("/"), used to indicate the path where your icons.svg file is.

Example

This one will display the icon named "plus" inside of the /icons.svg file

import React from 'react';
import Icon from '@axa-fr/react-toolkit-icon';

const PlusIcon => () => (
    <Icon icon="plus"/>
)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.23latest
3.0.2-alpha.01next

Version History

VersionDownloads (Last 7 Days)Published
3.0.23
3.0.2-alpha.01
3.0.11
3.0.01
3.0.0-alpha.21
3.0.0-alpha.10
3.0.0-alpha.01
2.3.17
2.3.1-alpha.02
2.3.03
2.3.0-alpha.21
2.3.0-alpha.02
2.2.051
2.2.0-alpha.11
2.2.0-alpha.01
2.1.11
2.1.1-alpha.01
2.1.02
2.1.0-alpha.62
2.1.0-alpha.51
2.1.0-alpha.41
2.1.0-alpha.31
2.1.0-alpha.22
2.1.0-alpha.12
2.0.1-alpha.10
2.0.1-alpha.02
2.0.00
2.0.0-alpha.110
2.0.0-alpha.101
2.0.0-alpha.90
2.0.0-alpha.82
2.0.0-alpha.50
2.0.0-alpha.41
2.0.0-alpha.31
1.4.11
1.4.01
2.0.0-alpha.13
2.0.0-alpha.01
1.4.0-alpha.11
1.4.0-alpha.00
1.3.230
1.3.210
1.3.162
1.3.151
1.3.142
1.3.131
1.3.122
1.3.112
1.3.101
1.3.92
1.3.9-alpha.01
1.3.8-alpha.00
1.3.7-alpha.03
1.3.62
1.3.6-alpha.00
1.3.5-alpha.01
1.3.42
1.3.32
1.3.21
1.3.2-alpha.00
1.2.161
1.2.151
1.2.142
1.2.131
1.2.121
1.2.110
1.2.102
1.2.82
1.2.71
1.2.60
1.2.6-alpha.02
1.2.50
1.2.5-alpha.01
1.2.40
1.2.32
1.2.22
1.2.10
1.2.00
1.1.22
1.1.11
1.1.00
1.0.50
1.0.41
1.0.31
1.0.22
1.0.10
1.0.00
0.0.2-alpha.00

Package Sidebar

Install

npm i @axa-fr/react-toolkit-icon

Weekly Downloads

153

Version

3.0.2

License

MIT

Unpacked Size

16.6 kB

Total Files

25

Last publish

Collaborators

  • johnathan.meunier
  • martinweb
  • fcornaire
  • guillaume.chervet.axa
  • samuel-gomez
  • antoine.blancke
  • arnaudforaison