diff --git a/docs/CreateEdit.md b/docs/CreateEdit.md index 35dbccdfe8e..e569fca10b7 100644 --- a/docs/CreateEdit.md +++ b/docs/CreateEdit.md @@ -201,6 +201,8 @@ const PostEditActions = ({ basePath, data }) => ( ### Aside component +![Aside component](./img/aside.png) + You may want to display additional information on the side of the form. Use the `aside` prop for that, passing the component of your choice: {% raw %} diff --git a/docs/Show.md b/docs/Show.md index d982665744a..d9059b0cd62 100644 --- a/docs/Show.md +++ b/docs/Show.md @@ -125,6 +125,8 @@ export const PostShow = (props) => ( ### Aside component +![Aside component](./img/aside.png) + You may want to display additional information on the side of the resource detail. Use the `aside` prop for that, passing the component of your choice: {% raw %} @@ -385,7 +387,7 @@ import { } from 'react-admin'; const ScrollableTabbedShowLayout = props => ( - + }> ... diff --git a/docs/img/aside.png b/docs/img/aside.png new file mode 100644 index 00000000000..97929244387 Binary files /dev/null and b/docs/img/aside.png differ