1
0
Fork 0

some lint fixes from after the mjs overhaul

This commit is contained in:
Enoch Riese 2023-02-13 16:44:12 -06:00
parent 7bfb630bb4
commit 0a07ca8de0
8 changed files with 41 additions and 38 deletions

View file

@ -2,7 +2,7 @@ import { forwardRef } from 'react'
import { Menu } from '@headlessui/react'
import Link from 'next/link'
// FIXME: Is this even used at all?
// FIXME: Update this to be used to dry up all picker components
/** an accessible dropdown menu for use by picker components */
export const Picker = ({ Icon, className, title, ariaLabel, iconOnly = false, children, end }) => {
@ -68,6 +68,8 @@ const ForwardLink = forwardRef(({ href, locale, active, children, ...rest }, ref
</Link>
))
ForwardLink.displayName = 'ForwardLink'
/** a menu item that is a button */
export const PickerButton = ({ onClick, children }) => {
return (