See Form API
FormModal
import { FormModal } from '@lobehub/ui';
Default
Flat Type
Scroll To Error
APIs
Name | Description | Type | Default |
---|---|---|---|
submitText | The text of the submit button | string | Submit |
submitButtonProps | The props of the submit button | ButtonProps | -- |
submitLoading | The loading status of the submit button | boolean | false |
onSubmit | The callback of the submit button | () => void | -- |
Form
See Form API
Modal
See Modal API