Wireless Buzzer App (Part 3) (BuzzerScreen.js)

Wireless Buzzer App

(Part 3)


BuzzerScreen.js:

import * as React from 'react';
import {Viewfrom "react-native";

import AppHeader from "../components/AppHeader";

import SoundButton from "../components/SoundButton"

export default class BuzzerScreen extends React.Component{

  render(){

    return(
      <View>
      <AppHeader/>
      <SoundButton color={this.props.navigation.getParam('color')}/>
      </View>
    )
  }
}



0 Comments: