arqex / arqex/react-json-table

trouble rendering as a component

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Trying to render the json table as a component, which is wrapped in my App component.
getting the error

> Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `Table`.

my table code looks like:

```
import React from 'react';
import { JsonTable } from 'react-json-table';
const Table = props => {
console.log(props)
return(




);
}
export default Table;
```

any ideas why this would not work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.