diff --git a/docs/documentation/docs/controls/FilePicker.md b/docs/documentation/docs/controls/FilePicker.md index 5017245f1..5ff449a3e 100644 --- a/docs/documentation/docs/controls/FilePicker.md +++ b/docs/documentation/docs/controls/FilePicker.md @@ -45,7 +45,7 @@ import { FilePicker, IFilePickerResult } from '@pnp/spfx-controls-react/lib/File accepts= {[".gif", ".jpg", ".jpeg", ".bmp", ".dib", ".tif", ".tiff", ".ico", ".png", ".jxr", ".svg"]} buttonIcon="FileImage" onSave={(filePickerResult: IFilePickerResult) => { this.setState({filePickerResult }) }} - onChanged={(filePickerResult: IFilePickerResult) => { this.setState({filePickerResult }) }} + onChange={(filePickerResult: IFilePickerResult) => { this.setState({filePickerResult }) }} context={this.props.context} /> ```