@axa-fr/react-toolkit-action
Installation
Link
Button
Link ActionCore
Button ActionCore
npm i @axa-fr/react-toolkit-action
import Button from '@axa-fr/react-toolkit-action' ;
import '@axa-fr/react-toolkit-action/dist/af-button.css' ;
const LinkAction = ( ) => (
< Button
id = "id"
icon = "link"
href = "http://www.axa.fr"
title = "Test Link"
target = "_blank"
/>
) ;
export default LinkAction ;
import Button from '@axa-fr/react-toolkit-action' ;
import '@axa-fr/react-toolkit-action/dist/af-button.css' ;
const ButtonAction = ( ) => < Button id = "id" icon = "floppy-disk" title = "Save" /> ;
export default ButtonAction ;
import { ActionCore } from '@axa-fr/react-toolkit-action' ;
import '@axa-fr/react-toolkit-action/dist/af-button.css' ;
const LinkActionCore = ( ) => (
< ActionCore id = "id" icon = "link" href = "http://www.axa.fr" title = "Test Link" />
) ;
export default LinkActionCore ;
import { ActionCore } from '@axa-fr/react-toolkit-action' ;
import '@axa-fr/react-toolkit-action/dist/af-button.css' ;
const ButtonActionCore = ( ) => (
< ActionCore
id = "id"
icon = "floppy-disk"
href = "http://www.axa.fr"
title = "Test Link"
/>
) ;
export default ButtonActionCore ;