📜  条件 CSS 类样式 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:00.793000             🧑  作者: Mango

代码示例1
class App extends Component {
  constructor() {
    super()
    this.state = { isRed: true }
  }

  render() {
    const isRed = this.state.isRed

    return 

Example Text

} }