Skip to content

Commit

Permalink
docs(alert): add role input to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard H authored and pauleustice committed Feb 19, 2024
1 parent f4f4026 commit 697e1e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion projects/canopy/src/lib/alert/docs/alert.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export default {
type: 'select',
},
},
role: {
description: 'The ARIA role for the alert.',
defaultValue: '',
},
class: {
table: {
disable: true,
Expand All @@ -57,7 +61,9 @@ export default {
const template = `
<lg-alert
[showIcon]="showIcon"
[variant]="variant">
[variant]="variant"
[role]="role"
>
{{content}} Here is some <a href="#"> link text</a>.
</lg-alert>
`;
Expand Down

0 comments on commit 697e1e2

Please sign in to comment.