import React from 'react';
import PropTypes from 'prop-types';
// <Pt name={1} />
export default class Pt extends React.Component {
static propTypes = {
type: PropTypes.string
};
render() {
return ( <h1> { this.props.name } </h1> )
};
};
梦里花落0921
相关分类