some lint fixes from after the mjs overhaul
This commit is contained in:
parent
7bfb630bb4
commit
0a07ca8de0
8 changed files with 41 additions and 38 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue