@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.26latest
3.0.2-alpha.00next

Version History

VersionDownloads (Last 7 Days)Published
3.0.26
3.0.2-alpha.00
3.0.10
3.0.01
3.0.0-alpha.20
3.0.0-alpha.10
3.0.0-alpha.00
2.3.18
2.3.1-alpha.00
2.3.01
2.3.0-alpha.20
2.3.0-alpha.00
2.2.072
2.2.0-alpha.10
2.2.0-alpha.00
2.1.11
2.1.1-alpha.00
2.1.01
2.1.0-alpha.60
2.1.0-alpha.50
2.1.0-alpha.40
2.1.0-alpha.30
2.1.0-alpha.20
2.1.0-alpha.10
2.0.1-alpha.10
2.0.1-alpha.00
2.0.02
2.0.0-alpha.110
2.0.0-alpha.100
2.0.0-alpha.90
2.0.0-alpha.80
2.0.0-alpha.51
2.0.0-alpha.40
2.0.0-alpha.30
1.4.14
1.4.03
2.0.0-alpha.10
2.0.0-alpha.00
1.4.0-alpha.10
1.4.0-alpha.00
1.3.231
1.3.211
1.3.161
1.3.151
1.3.141
1.3.131
1.3.121
1.3.111
1.3.101
1.3.91
1.3.9-alpha.00
1.3.8-alpha.01
1.3.7-alpha.00
1.3.61
1.3.6-alpha.00
1.3.5-alpha.00
1.3.41
1.3.31
1.3.21
1.3.2-alpha.00
1.2.161
1.2.151
1.2.141
1.2.131
1.2.121
1.2.111
1.2.101
1.2.81
1.2.71
1.2.61
1.2.6-alpha.00
1.2.51
1.2.5-alpha.00
1.2.41
1.2.31
1.2.21
1.2.11
1.2.01
1.1.21
1.1.11
1.1.01
1.0.51
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01
0.0.2-alpha.00

Package Sidebar

Install

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

Weekly Downloads

140

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