import React, { type HTMLAttributes } from 'react'
import { type DOMAttributes, type FocusableElement } from '@react-types/shared'
import classnames from 'classnames'
import { Icon } from '~components/Icon'
import { Label } from '~components/Label'
import { type OverrideClassName } from '~components/types/OverrideClassName'
import styles from './SelectToggle.module.scss'
export type SelectToggleProps = {
label: React.ReactNode
labelProps: DOMAttributes
value: React.ReactNode
/** Props for the element representing the selected value. */
valueProps: DOMAttributes
isOpen?: boolean
/** Updates the styling of the validation. */
status?: 'error' | 'caution'
isDisabled?: boolean
/** Use the `reversed` styles. */
isReversed?: boolean
} & OverrideClassName, 'placeholder'>>
export const SelectToggle = React.forwardRef(
(
{
label,
labelProps,
value,
valueProps,
isOpen,
status,
isDisabled,
isReversed,
classNameOverride,
...restProps
},
ref,
) => (
),
)
SelectToggle.displayName = 'SelectToggle'