Skip to content

Commit

Permalink
Merge pull request #14 from equinox-fund/bug/menu-dropdown-item-optio…
Browse files Browse the repository at this point in the history
…n-props

Menu dropdown item optional props
  • Loading branch information
sneveu authored Apr 14, 2022
2 parents b7d4304 + 8cf4d34 commit ad4ef28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinox-fund/equinox-lib",
"version": "0.0.45",
"version": "0.0.46",
"description": "Equinox components",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Spinner from '../../Spinner'
import styles, { dividerStyles } from './styles'

export interface MenuDropdownItemProps {
name: string
name?: string
label?: string
children?: ReactNode
href?: string
Expand All @@ -14,7 +14,7 @@ export interface MenuDropdownItemProps {
loading?: boolean
disabled?: boolean
closeDropdown?: () => void
onClick: (item: MenuDropdownItemProps) => void
onClick?: (item: MenuDropdownItemProps) => void
active?: boolean
divider?: boolean
}
Expand Down

0 comments on commit ad4ef28

Please sign in to comment.