Skip to content

Commit

Permalink
WIP(ui-top-nav-bar): add onclick documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joyenjoyer committed Nov 7, 2023
1 parent 86e82ab commit f05a0d2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ type TopNavBarBreadcrumbOwnProps = {
* The children to be rendered within the `<TopNavBarBreadcrumb />`. Children must be type of `Breadcrumb`.
*/
children: ChildrenOfType<ComponentElement<BreadcrumbProps, Breadcrumb>>

/**
* A callback function to be called, if the user clicks on the hamburger icon.
*/
onClick?: (
event: React.MouseEvent<ViewOwnProps> | React.KeyboardEvent<ViewOwnProps>
) => void
Expand Down

0 comments on commit f05a0d2

Please sign in to comment.