Skip to content

Commit 61f2a3f

Browse files
committed
Export MenuItem interface
1 parent cf430ff commit 61f2a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react-headless-nested-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import produce, { Draft } from 'immer'
33
import getEventPath, { handleRefs, getDirection } from './utils'
44

5-
interface MenuItem {
5+
export interface MenuItem {
66
id: string
77
label: string
88
subMenu?: Items

0 commit comments

Comments
 (0)