📜  更改边框颜色焦点 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:02.453000             🧑  作者: Mango

代码示例1
state: {
    isFocused: true
}

 handleFocus = () => this.setState({isFocused: true})

 handleBlur = () => this.setState({isFocused: false})