Skip to content

Commit d7ee273

Browse files
Update RichText.md
Code fix
1 parent c1b1598 commit d7ee273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/documentation/docs/controls/RichText.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { RichText } from "@pnp/spfx-controls-react/lib/RichText";
1717

1818
```TypeScript
1919
<RichText value={this.props.value}
20-
onChange={(text)=>this.props.onChange(text)}
20+
onChange={(text)=>this.onTextChange(text)}
2121
/>
2222
```
2323

0 commit comments

Comments
 (0)