You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
exportdefaultclassMyDockextendsReact.Component{constructor(props){super(props)this.state={isVisible: true,}}toggleVisibility=()=>{this.setState({isVisible: !this.state.isVisible})}render(){return(<DockisVisible={this.state.isVisible}onVisibleChange={this.toggleVisibility}>
Contents of the dock
</Dock>)}}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As the picture shows, when a dock is opened, I want to be able to close it by clicking on the grey area. How do I do that?
The text was updated successfully, but these errors were encountered: