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
here this is code in menu i have dropdown and portal with state is in dropdown and menu list as children for dropdown like sample
Menu code:
<Dropdown> **//portal with state in drop down** <Menulist> <Menuitem></Menuitem> <Menuitem></Menuitem> </Menulist> </Dropdown>
drop down : code
<PortalWithState closeOnEsc={closeOnEsc} closeOnOutsideClick={closeOnOutsideClick} onOpen={this.onOpen} adjustPosition={this.adjustPosition} onClose={onClose} beforeClose={this.beforeClose} isOpened={isOpened} > {({ openPortal, closePortal, isOpen, portal }) => ( <React.Fragment> <Target.type onClick={openPortal} {...target.props} />//target element onclick it opens menu list of items {portal(children)} </React.Fragment> )} </PortalWithState>
The text was updated successfully, but these errors were encountered:
reference this issue #206
Sorry, something went wrong.
No branches or pull requests
here this is code in menu i have dropdown and portal with state is in dropdown and menu list as children for dropdown like sample
Menu code:
drop down : code
The text was updated successfully, but these errors were encountered: