Skip to content

problem: state #133

@noxbxx

Description

@noxbxx

problem:
1 1: import React from 'react';
2 19: <table style={{border: "2px solid black"}}>
3 44: <td style={{border: "1px solid black"}}>


4 47: <td style={{border: "1px solid black"}}>{this.props.title}
5 48: <td style={{border: "1px solid black"}}>{this.props.children}
6 54: title: React.PropTypes.string.isRequired

solution

  1. import React from 'react';
    import PropTypes from 'prop-types';
  2. title: PropTypes.string.isRequired
    
  3. {this.props.title} {this.props.children}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions