Skip to content

Commit 898b165

Browse files
committed
Updated initialize mount docs example.
1 parent 0d092bc commit 898b165

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-renderer-demo/src/app/pages/renderer/initialize-mount.md

Lines changed: 2 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

44
import ListOfContents from '../../src/helpers/list-of-contents';
55

@@ -32,7 +32,7 @@ The field will use the `initialValue` set in the schema ([initialValue](/rendere
3232

3333
This feature comes handy if you need change a value when an user traverses a form, which shows and hides fields, and the value is not set by the user. Very useful case is used it wizard forms, where you can set different value for the same input according the way the user went in the wizard form by using this option combined with [hideField](/renderer/component-api#commonpropsforallformfields) prop.
3434

35-
<RawComponent source="initialize-mount" />
35+
<CodeExample source="components/initialize-mount" mode="preview" />
3636

3737
## Clear the value
3838

0 commit comments

Comments
 (0)