Open Arsik36 opened 1 month ago
The recent update to the React application's components.mdx
file introduces a few modifications to the FlatfileProvider
configuration object. The exitPrimaryButtonText
property is now split into two distinct properties: exitPrimaryButtonText
and exitSecondaryButtonText
. Additionally, the displayAsModal
property is now explicitly set to true
without a trailing comma, ensuring proper syntax.
File Path | Change Summary |
---|---|
apps/embedding/react/components.mdx |
Updated FlatfileProvider configuration: added exitSecondaryButtonText , and explicitly set displayAsModal: true . |
apps/embedding/react/components.mdx (12)
Near line 40: Loose punctuation mark. Context: ...a space ID. #### Main Props - `config`: Sets up the configuration for a new spa... --- Near line 41: Loose punctuation mark. Context: ..., including theming and metadata. - `id`: An optional prop that, when provided, i... --- Near line 59: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing. Context: ...re you'll add the `id` of the Space you want to re-use. ```tsx const FFApp = () =>
apps/embedding/react/components.mdx (1)
`24-28`: Update to `FlatfileProvider` configuration properties. The changes to the `config` object in `FlatfileProvider` align with the PR's objectives and the AI-generated summary. The addition of `exitSecondaryButtonText` and `displayAsModal: true` enhances the configurability of the component. Ensure that these new properties are documented appropriately in the user guide to avoid confusion.
Minor syntax corrections