Skip to content

Commit 5089337

Browse files
authored
Merge pull request #9041 from marmelab/doc-fix-typo-in-tabbedform
[Doc] Fix a typo: missing e to the
2 parents 45fdd3c + 646fefa commit 5089337

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/TabbedForm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export const PostEdit = () => (
308308

309309
## `tabs`
310310

311-
By default, `<TabbedForm>` uses `<TabbedFormTabs>`, an internal react-admin component, to render the tab headers. You can pass a custom component as the `tabs` prop to tweak th UX of these headers. Besides, props from `<TabbedFormTabs>` are passed down to Material UI's `<Tabs>` component.
311+
By default, `<TabbedForm>` uses `<TabbedFormTabs>`, an internal react-admin component, to render the tab headers. You can pass a custom component as the `tabs` prop to tweak the UX of these headers. Besides, props from `<TabbedFormTabs>` are passed down to Material UI's `<Tabs>` component.
312312

313313
The following example shows how to make use of scrollable `<Tabs>`. Pass `variant="scrollable"` and `scrollButtons="auto"` props to `<TabbedFormTabs>` and use it in the `tabs` prop from `<TabbedForm>`.
314314

@@ -678,7 +678,7 @@ const formState = useFormState(); // ❌ should deconstruct the formState
678678

679679
## Dynamic Tab Label
680680

681-
`<TabbedForm>` often contain not only inputs, but also related data (e.g. the reviews of a product). Users appreviate that the label of such tabs show the actual number of related elements, to avoid clicking on a tab to reveal an empty list.
681+
`<TabbedForm>` often contain not only inputs, but also related data (e.g. the reviews of a product). Users appreciate that the label of such tabs show the actual number of related elements, to avoid clicking on a tab to reveal an empty list.
682682

683683
![dynamic tab label](./img/FormTab-dynamic-label.png)
684684

0 commit comments

Comments
 (0)