Skip to content

Commit

Permalink
chore(type): make ariaProps optional property
Browse files Browse the repository at this point in the history
  • Loading branch information
wherehows committed Jan 14, 2024
1 parent 1713dd3 commit 62df748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface Toast {
pauseDuration: number;
position?: ToastPosition;

ariaProps: {
ariaProps?: {
role: 'status' | 'alert';
'aria-live': 'assertive' | 'off' | 'polite';
};
Expand Down

0 comments on commit 62df748

Please sign in to comment.