Type: React component

How to get Badge?


import Badge from 'fontoxml-feedback/src/Badge.jsx'

Renders something similar to an FDS Chip but without the remove (X) icon button.

Useful to render the AnnotationStatus in your custom CardContentComponent for a registered review annotation type.


  1. label


    Type: Number | String

    The text that is displayed in the badge. Displayed as the children of an FDS Label.

  2. tooltipContent


    Type: React.ReactNode

    The text that is displayed when hovering over the badge.

    Default value