-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
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
docs(ui-modal,ui-tray): function based examples are added to Modal an… #1613
docs(ui-modal,ui-tray): function based examples are added to Modal an… #1613
Conversation
|
packages/ui-tray/src/Tray/README.md
Outdated
onClick={() => { | ||
this.setState({ open: true }) | ||
}} | ||
ref={(c) => (this._showButton = c)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesnt seem to do anything, you can delete it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
packages/ui-tray/src/Tray/README.md
Outdated
|
||
const Example = () => { | ||
const [open, setOpen] = useState(false) | ||
const showButtonRef = useRef(null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can delete this one too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
…d Tray Closes: INSTUI-4149
f79914b
to
5b136c9
Compare
…d Tray
Closes: INSTUI-4149