ClickableCallbacktype

(event: MouseEvent<HTMLButtonElement>) => ReactNode | void | PromiseLike<ReactNode | void>
Return
unknown
A ReactNode (shown as a success notice), nothing, or a promise of either.
Type
MouseEvent
HTMLButtonElement
ReactNode
PromiseLike

Handler for a clickable onClick event.