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

3.0.2 • Public • Published

@axa-fr/react-toolkit-form-summary

Installation

npm i @axa-fr/react-toolkit-form-summary
npm i @axa-fr/react-toolkit-alert

Import

import { Summary } from '@axa-fr/react-toolkit-form-summary';
import '@axa-fr/react-toolkit-alert/dist/af-alert.css';

Use

const SummaryForm = () => (
  <Summary
    messages={[
      <span>Field Author is required</span>,
      'Field PlaceName is required',
    ]}
    title="Formulaire invalide"
    classModifier="error"
    className="af-alert"
    isVisible={true}
  />
);
export default SummaryForm;

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-fr/react-toolkit-form-summary

Weekly Downloads

80

Version

3.0.2

License

MIT

Unpacked Size

13.5 kB

Total Files

22

Last publish

Collaborators

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