Skip to content

Commit

Permalink
✨ feat(alert): ajoute un example de taille md avec description seule …
Browse files Browse the repository at this point in the history
…[DS-3685, DS-3688] (#853)
  • Loading branch information
zellerbaptiste authored Jan 30, 2024
1 parent 8fc8204 commit 308a8a1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/component/alert/example/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ const sample = getSample(include);

<%- sample('Alerte attention', './sample/alert-default', {alert: {type: "warning", title: "Attention"}}, true); %>

<%- sample('Alerte sans titre', './sample/alert-default', {alert: {type: "info", title:false, text: "Information : titre de l'information"}}, true); %>

<%- sample('Alerte avec bouton fermer', './sample/alert-dismissable', {alert: {type: "info", title: "Information Covid"}}, true); %>

<%- sample('Alerte taille SM', './sample/alert-default', {alert: {title:false, size: "sm", type: "info", text: "Information : titre de l'information"}}, true); %>
<%- sample('Alerte taille SM', './sample/alert-default', {alert: {size: "sm", type: "info"}}, true); %>

<%- sample('Alerte taille SM sans titre', './sample/alert-default', {alert: {title:false, size: "sm", type: "info", text: "Information : titre de l'information"}}, true); %>

<%- sample('Alerte taille SM refermable', './sample/alert-dismissable', {alert: {title:false, size: "sm", type: "info", text: "Information : cliquer sur la croix pour fermer l'alerte"}}, true); %>

Expand Down

0 comments on commit 308a8a1

Please sign in to comment.