DeprecatedPreview

This component is used to display a condensed view of an entity. If it is clickable, we expect to see a detailed version.

View source code
  • primaryText
    ReactNode

    The text to display in the preview

  • className
    string

    className for the element

  • fit
    "parent"

    Specifies the width of the element

    Default: parent
  • onClick
    MouseEventHandler<HTMLButtonElement>

    Handler that is called when the preview is clicked

  • rightAddon
    ReactNode

    Right addon of the preview

  • secondaryText
    ReactNode

    The secondary text to display in the preview