We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc16194 commit cc2ec92Copy full SHA for cc2ec92
1 file changed
packages/ra-core/src/controller/show/ShowBase.stories.tsx
@@ -182,7 +182,7 @@ export const Offline = ({
182
{...props}
183
offline={<p>You are offline, cannot load data</p>}
184
>
185
- <Child />
+ <OfflineChild />
186
</ShowBase>
187
</CoreAdminContext>
188
);
@@ -215,6 +215,10 @@ const defaultProps = {
215
};
216
217
const Child = () => {
218
+ return <WithRecord render={record => <p>{record?.test}</p>} />;
219
+};
220
+
221
+const OfflineChild = () => {
222
return (
223
<>
224
<p>Use the story controls to simulate offline mode:</p>
0 commit comments