Feedback & indicatorsNotice
Notice
While notices are an effective method of communicating with users, they can be disruptive and should be used sparingly.
NoticeProps
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
actions | {
primary?: Action;
secondary?: Action;
} | — | — | — |
children | ReactNode | Yes | — | — |
icon | ComponentType<IconProps> | — | — | Replace the default icon. The default icons are appropriate for the "tone" and provide context for users that aren't able to discern intent from colour alone. For continuity within our products we recommend that this is rarely used. |
size | keyof typeof sizeToPaddingmedium|small | — | medium | — |
title | string | — | — | — |
tone | Tonesinformative|cautious|positive|critical | — | informative | — |