📅  最后修改于: 2022-03-11 14:48:28.351000             🧑  作者: Mango
interface IProps {
}
interface IState {
playOrPause?: string;
}
class Player extends React.Component {
// ------------------------------------------^
constructor(props: IProps) {
super(props);
this.state = {
playOrPause: 'Play'
};
}
render() {
return(
);
}
}