galio-org / galio-starter-kit

Galio's starter kit is an app you can use to see what you can create with our library
https://galio.io
MIT License
182 stars 71 forks source link

style may be false but not true #28

Open vitaly87 opened 3 years ago

vitaly87 commented 3 years ago

Hi all, I toke https://galio.io/ with react native. my code is just tring to use the register page to show it

my code is :

export default function App() {
  return (
    <View style={styles.container}>
      <Login></Login>
      {/* <Text>Open up App.tsx to start working on your app!</Text>
      <StatusBar style="auto" /> */}
    </View>
  );
}

The issue when I am trying to use the register example from screen then I got an error the code of login from this path


style may be false but not true
▶ 27 stack frames were collapsed.
registerRootComponent
C:/src/launch/registerRootComponent.tsx:14
  11 |   AppRegistry.registerComponent('main', () => withExpoRoot(component));
  12 |   if (Platform.OS === 'web') {
  13 |     const rootTag = document.getElementById('root') ?? document.getElementById('main');
> 14 |     AppRegistry.runApplication('main', { rootTag });
  15 |   }
  16 | }
  17 |