Skip to main content

RunQueryButton

This button component is used for running queries. It supports four query states: idle, loading, success, and error.

RunQueryButtonProps

extends, , , ,
NameTypeDefaultDescription
disabled?
falseWhen the run query button is disabled it cannot be interacted with.
queryState?
idleThe current button state.
onClick?
-Callback triggered when the RunQueryButton is interacted with.
cancelable?
trueWhether the run query button is cancelable, i.e., if the loading state can be interrupted.
Still have questions?
Find answers in the Dynatrace Community