FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/react / FormButtonElementProps

Type Alias: FormButtonElementProps

FormButtonElementProps = object

Props for the FormButtonElement component.

Properties

children?

optional children: React.ReactNode

The content to be displayed inside the button.

submit()

submit: () => Promise<void>

A function to be called when the button is clicked, which returns a promise.

Returns

Promise<void>

submitting

submitting: boolean