We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file1
import Button from 'rc-button'; const overlay = () => { return ( <Button onClick={props.onHandle}> close </Button> ) } export default overlay
file2
import Dropdown from 'rc-dropdown'; import Overlay from './overlay' const drop = () => { const [visible, setVisible] = useState(false) return ( <Dropdown overlay={<OverLay onHandle={setVisible(false}} />} visible={visible} > <Button> show </Button> </Dropdown> ) } export default drop
when click button close , but the Button class still have rc-dropdown-open
The text was updated successfully, but these errors were encountered:
@heavenlian Can't reproduce your question, and your codes has many errros~
Sorry, something went wrong.
No branches or pull requests
file1
file2
when click button close , but the Button class still have rc-dropdown-open
The text was updated successfully, but these errors were encountered: