December 2019
Intermediate to advanced
474 pages
10h 3m
English
In this section, you'll add some buttons to the surface so that your users can close the welcome message or switch the background image scenery. First, let's start by creating a button that lets us close the welcome message surface:
import React from 'react';import { StyleSheet, Text, View,} from 'react-360';export default class Panel extends React.Component {+ constructor() {+ super();+ this.state = {+ open: ...
Read now
Unlock full access