This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Component } from "react"; | |
| import PropTypes from "prop-types"; | |
| export default class BaseComponent extends Component { | |
| static propTypes = { | |
| id: PropTypes.string | |
| } | |
| static States = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| class Root extends Component { | |
| static childContextTypes = { | |
| appState: PropTypes.func | |
| }; | |
| getChildContext = () => { |
NewerOlder