You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the exact syntax of Basic example I get the error when trying to embed this as a React component in a page:
../node_modules/react-pivot/index.jsx
Module parse failed: Unexpected token (120:6)
You may need an appropriate loader to handle this file type.
|
| var html = (
| <div className='reactPivot'>
|
| { this.props.hideDimensionFilter ? '' :
My call is simply
import React from "react";
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
import AddressBookPivotTable from '../components/AddressBookPivotTable';
const Routes = ({ props }) => (
<Router>
<AddressBookPivotTable/>
</Router>
);
export default Routes;
Using the exact syntax of Basic example I get the error when trying to embed this as a React component in a page:
My call is simply
and the underlying component is declared as
It's a create-react-app generated application this is embedded within.
Any help solving this would be appreciated
The text was updated successfully, but these errors were encountered: