diff options
Diffstat (limited to 'vnext/src/ui/NavigationIcon.js')
-rw-r--r-- | vnext/src/ui/NavigationIcon.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vnext/src/ui/NavigationIcon.js b/vnext/src/ui/NavigationIcon.js index 0a22ac57..9594d61f 100644 --- a/vnext/src/ui/NavigationIcon.js +++ b/vnext/src/ui/NavigationIcon.js @@ -5,6 +5,15 @@ import Icon from './Icon'; import './NavigationIcon.css'; +/** + * @typedef {Object} NavigationIconProps + * @property {(event: React.MouseEvent) => void} onToggle + */ + + /** + * Navigation icon + * @param {NavigationIconProps} props + */ function NavigationIcon(props) { return ( <div id="navicon" className="mobile" onClick={props.onToggle}> |