Skip to content

Commit 8475336

Browse files
committed
Fix id tip in ShowBase.
1 parent 5d39d9a commit 8475336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ShowBase.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ export const PostShow = () => (
167167
);
168168
```
169169

170+
**Tip**: Pass both a custom `id` and a custom `resource` prop to use `<ShowBase>` independently of the current URL. This even allows you to use more than one `<ShowBase>` component in the same page.
171+
170172
## `loading`
171173

172174
By default, `<ShowBase>` renders the children while loading the record to show. You can display a component during this time via the `loading` prop:
@@ -181,8 +183,6 @@ export const PostShow = () => (
181183
);
182184
```
183185

184-
**Tip**: Pass both a custom `id` and a custom `resource` prop to use `<ShowBase>` independently of the current URL. This even allows you to use more than one `<ShowBase>` component in the same page.
185-
186186
## `offline`
187187

188188
By default, `<ShowBase>` renders nothing when there is no connectivity and the record hasn't been cached yet. You can provide your own component via the `offline` prop:

0 commit comments

Comments
 (0)