@socotra/ec-react-components 0.0.0-alpha.2 → 0.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
8
8
  * AccountForm is a form for creating or updating an account. It accepts a resolved data model, custom data types, and an optional account object to put the form in update mode. References: https://rjsf-team.github.io/react-jsonschema-form/docs/
9
9
  */
10
10
  export declare const AccountForm: {
11
- ({ accountsModel, accountType, dataTypes, handleSubmit, hideSubmitButton, account, id, }: Props): JSX_2.Element;
11
+ ({ accountsModel, accountType, dataTypes, handleSubmit, hideSubmitButton, account, submitButtonText, id, }: Props): JSX_2.Element;
12
12
  displayName: string;
13
13
  };
14
14
 
@@ -42,6 +42,10 @@ declare type Props = {
42
42
  * Hides the submit button
43
43
  */
44
44
  hideSubmitButton?: boolean;
45
+ /**
46
+ * The text to display on the submit button
47
+ */
48
+ submitButtonText?: string;
45
49
  /**
46
50
  * ID for the form wrapper
47
51
  * */