import React from 'react'; import { siteRoot, gettext } from '../../utils/constants'; import { Link } from '@reach/router'; class DraftsView extends React.Component { constructor(props) { super(props); this.state = { currentTab: this.props.currentTab }; } tabItemClick = (param) => { this.setState({ currentTab: param }) } render() { return (
{this.props.children}
); } } export default DraftsView;