mmazzarolo / react-native-universal-monorepo

React Native boilerplate supporting multiple platforms: Android, iOS, macOS, Windows, web, browser extensions, Electron.
MIT License
1.71k stars 153 forks source link

Integrating Native-Base #29

Closed hazhayder closed 3 years ago

hazhayder commented 3 years ago

Hi, First of all kudos to the maintainer you've done an awesome job. We're trying to integrate Native-Base in this project but we want this to reside under "my-app/app" space so we could share components based on native-base between web and mobile. After installing native-base under mentioned space "my-app/app" it says that cannot find module react-native image /packages/app/src/components/Button.js

// import React from "react"
import { Button, Center, NativeBaseProvider } from "native-base"
function Button(){
  return (
    <>
      <Button onPress={() => console.log("hello world")}>Primary</Button>
    </>
  )
}
export default Button;