Integrating Web with existing RN Mobile App

So I installed unimodules and now I can use the expo APIs however, when I run expo start:web i get the following error

 web  Failed to compile.
/Users/Josh/Desktop/Coding/ArkMortgage/SAIL_2_RN/node_modules/victory-native/lib/components/victory-axis.js 10:22
Module parse failed: Unexpected token (10:22)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See
| export default class extends VictoryAxis {
>   static defaultProps = Object.assign({}, VictoryAxis.defaultProps, {
|     axisComponent: <LineSegment/>,
|     axisLabelComponent: <VictoryLabel/>,

Does anyone know a workaround for this kind of issue?

Edit 1: Using SDK version 39.0.3