VerificationNeeded.js 276 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 import React, { Component } from 'react'; export class VerificationNeeded extends Component { render() { if(! this.props.verify) { return ( <div> {this.props.message} </div> ); } return this.props.children; }; };