mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-11-29 01:53:36 +01:00
308 B
308 B
SubmitButton is a component that renders a button with different states based on
the state prop. It can be used to indicate the status of a form submission.
<SubmitButton state={1} />
<SubmitButton state={2} />
<SubmitButton state={3} />
<SubmitButton label="Submitting" state={2} />