Render the component when show is true . export default class Modal extends React.Component { render() { if(!this.props.show){ return null; }
確定! 回上一頁