import { forwardRef, ReactNode, Ref } from 'react'; import classNames from 'classnames'; export interface SelectOptionProps { children: ReactNode; value: string; className?: string; highlighted?: boolean; selected?: boolean; } function SelectOptionComponent( { children, className, value, highlighted, selected, ...props }: SelectOptionProps, ref: Ref ) { return (
  • {children}
  • ); } export const SelectOption = forwardRef(SelectOptionComponent);