-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/summary-component #210
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas de css ?
dcd7a61
to
03659de
Compare
D'après ce que j'ai vu sur le toolkit non , ce composant utilise le composant Alert. |
{messages.map((message) => { | ||
return ( | ||
<li className="af-summary__message-item" key={`message_${message}`}> | ||
{message} | ||
</li> | ||
); | ||
})} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{messages.map((message) => { | |
return ( | |
<li className="af-summary__message-item" key={`message_${message}`}> | |
{message} | |
</li> | |
); | |
})} | |
{messages.map((message) => ( | |
<li className="af-summary__message-item" key={`message_${message}`}> | |
{message} | |
</li> | |
))} |
6141edc
03659de
to
6141edc
Compare
@@ -12,6 +12,7 @@ export { | |||
CheckboxModes, | |||
} from "./Form/Checkbox/Agent"; | |||
export { Choice, ChoiceInput } from "./Form/Choice"; | |||
export { Summary } from "./Summary/Summary"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il faudrait peut-être créer un ./Summary/index.ts
afin d'importer en faisant "./Summary"
(comme pour les autres composants).
Closes #29
Expose a component just like the https://axafrance.github.io/react-toolkit/latest/storybook/index.html?path=/story/form-elements-summary--summary-story