-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(structure): use correct loading messages while resolving panes (#…
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
packages/sanity/src/structure/__workshop__/LoadingPaneStory.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import {Card, Stack, Text} from '@sanity/ui' | ||
|
||
import {PaneLayout} from '../components' | ||
import {LoadingPane} from '../panes' | ||
|
||
export default function LoadingPaneStory() { | ||
return ( | ||
<Stack space={3}> | ||
<Card padding={4} tone="positive"> | ||
<Text align="center"> | ||
Note: This is <em>intentionally</em> not resolving. We're testing the loading pane! | ||
</Text> | ||
</Card> | ||
<PaneLayout height="fill"> | ||
<LoadingPane paneKey="loading" /> | ||
</PaneLayout> | ||
</Stack> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters