0.5.13 • Published 3 years ago

@goldpage/react-native-web v0.5.13

Weekly downloads
14
License
-
Repository
github
Last release
3 years ago

Goldpage + React Native Web = :heart:

@goldpage/react-native-web

Use Goldpage with React Native Web.

Usage

Install @goldpage/react-native-web.

$ npm install @goldpage/react-native-web

The plugin is automatically loaded and the view property of your page configs is now rendered with React Native Web.

Example

// ./example/pages/hello-native-web.page.js

import React from 'react';
import { StyleSheet, Text, View } from 'react-native';

class App extends React.Component {
  render() {
    return (
      <View style={styles.box}>
        <Text style={styles.text}>Hello from native web!</Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  box: { padding: 10 },
  text: { fontWeight: 'bold', color: 'green' },
});

export default {
  route: '/',
  view: App,
//renderToDom: false,
  renderToHtml: true,
};
0.5.12

3 years ago

0.5.13

3 years ago

0.5.11

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago