Skip to content

Commit

Permalink
doc wording
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienMattiussi committed Mar 24, 2020
1 parent decba24 commit 4c4e94f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/CreateEdit.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Here are all the props accepted by the `<TabbedForm>` component:
* [`margin`](#margin)
* `save`: The function invoked when the form is submitted. This is passed automatically by `react-admin` when the form component is used inside `Create` and `Edit` components.
* `saving`: A boolean indicating whether a save operation is ongoing. This is passed automatically by `react-admin` when the form component is used inside `Create` and `Edit` components.
* `scrollable`: A boolean, `true` by default. `<TabbedForm>` use MaterialUI scrollable buttons when there is too much FormTabs to display. If you preferer the screen to expands with the tabs, set it `false`.
* `scrollable`: A boolean, `true` by default. `<TabbedForm>` use MaterialUI scrollable buttons when there are too many FormTabs to display. If you prefer the screen to expands with the tabs, set it `false`.
{% raw %}
```jsx
Expand Down
2 changes: 1 addition & 1 deletion docs/Show.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export const PostShow = (props) => (
```
{% endraw %}

**Tip**: By default, `<TabbedShowLayout>` use MaterialUI scrollable buttons when there is too much Tabs to display. If you preferer the screen to expands with the tabs, use `scrollable={false}`.
**Tip**: By default, `<TabbedShowLayout>` use MaterialUI scrollable buttons when there are too many Tabs to display. If you prefer the screen to expands with the tabs, use `scrollable={false}`.

To style the tabs, the `<Tab>` component accepts two props:

Expand Down

0 comments on commit 4c4e94f

Please sign in to comment.