Reset
A form reset button that mirrors the behavior of a native <button type="reset">
.
Triggering a form reset, will call onChange
with the form's defaultValue
or empty object {}
.
API
import { Reset } from 'react-formal';
A Form reset button
as
type:TAs
onClick
type:(args: any[]) => any