Skip to content

Commit

Permalink
default forNoticeProps[politeness]
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Jan 27, 2023
1 parent b875859 commit 639be12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/src/notice/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export type NoticeProps = {
* a sensible default is used based on the notice status. Note that this
* value should be considered a suggestion; assistive technologies may
* override it based on internal heuristics.
*
* @ default - 'assertive' for 'error' status
* - 'polite' for all other statuses
*/
politeness?: 'polite' | 'assertive';
/**
Expand Down

0 comments on commit 639be12

Please sign in to comment.