DocumentHistoryShowChangesButton

Type: React component

How to get DocumentHistoryShowChangesButton?

JavaScript

import DocumentHistoryShowChangesButton from 'fontoxml-document-history/src/DocumentHistoryShowChangesButton.jsx'

Button which transitions the user to the Document History route when clicked.

If the document is saving or the save has errored, the button is rendered in a disabled state. This ensures a document save has happened before the user can request a changelog on the Document History route. Additionally the saving state is further clarified in the representation of the button and the tooltip shown on hover.

Props

  1. isDisabled

    (Optional)

    Type: Boolean

    Default value

  2. label

    (Optional)

    Type: String

    The label of the button. This overrides the label provided by the "go-to-history-for-focused-document" operation.

    Default value