onSelect: ( event: React.FormEvent, groupId: number | string, itemId: number | string, to: string, preventDefault: boolean, onClick: ( e: React.FormEvent, itemId: number | string, groupId: number | string, to: string ) => void ) => this.onSelect(event, groupId, itemId, to, preventDefault, onClick), onToggle: (event: React.MouseEvent, groupId: number | string, expanded: boolean) => this.onToggle(event, groupId, expanded), updateIsScrollable: (isScrollable: boolean) => this.setState({ isScrollable }), isHorizontal: ['horizontal', 'tertiary', 'horizontal-subnav'].includes(variant), flyoutRef: this.state.flyoutRef, setFlyoutRef: (flyoutRef) => this.setState({ flyoutRef }), navRef: this.navRef }} >
); } } export { Nav };