Skip to content

Commit 7019e0a

Browse files
committed
Updated schema validator docs example.
1 parent 898b165 commit 7019e0a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/react-renderer-demo/src/app/pages/renderer/schema-validator.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Grid from '@material-ui/core/Grid'
2-
import RawComponent from '@docs/raw-component';
2+
import CodeExample from '../../src/components/code-example';
33
import ListOfContents from '../../src/helpers/list-of-contents';
44

55
<Grid container item>
@@ -55,7 +55,9 @@ const schemaValidatorMapper = {
5555

5656
## Example
5757

58-
<RawComponent source="schema-validator" />
58+
This is example is supposed to fail
59+
60+
<CodeExample source="components/schema-validator" mode="preview" />
5961

6062
</Grid>
6163
<Grid item xs={false} md={2}>

0 commit comments

Comments
 (0)