CounterAnchor
Position a counter at the corner of a control or avatar.
Basic usage
Place the target and Counter as siblings inside CounterAnchor. Set the corner on Counter.placement and include the count in the action's accessible name. Click to mark the notifications as read.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
children | JSX.Element | — |
class | string | — |
style | JSX.CSSProperties or string | — |