Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Components
  2. Highlight
  3. API and Development

Highlight

API

View SourceOpens in a new tabSubmit IssueOpens in a new tab
See packages/ui/src/components/highlight/docs/api.md in the repository for the full prop table. Highlight requires children, severity (AttentionSeverity.S3 | S4 | S5) and label (LocalizedMessage). It accepts active (default true), as (HighlightHost.Div | ListItem, default Div) and ref. It takes no colour, className, style, role or event handler, and has no prominent variant. active paints the wash, the bar and the hidden label without remounting the subject, and an inactive highlight leaves layout unchanged.
Previous
Highlight / Usage
Next
Highlight / Accessibility