Skip to content

e.props.onGridSort is not a function #235

Description

@qf8505

e.props.onGridSort is not a function
TypeError: e.props.onGridSort is not a function
at t. (http://localhost:8088/static/js/vendors-node_modules__react-file-viewer_1_2_1_react-file-viewer_dist_index_js.chunk.js:29:111156)

<FileViewer fileType='csv'
filePath={this.state.file}
onError={() => console.log('Failed to load')}
onGridSort={() => null}
errorComponent={console.log("error")}
unsupportedComponent={() => {
return


}}/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions