Profectus / data/common / createResetButton
Function: createResetButton() ​
createResetButton<
T
>(optionsFunc
):any
Lazily creates a reset button with the given options.
Type Parameters ​
• T extends ClickableOptions
& ResetButtonOptions
Parameters ​
optionsFunc ​
() => T
A function that returns the options object for this reset button.
Returns ​
any