UNPKG

@coconut-software/ui

Version:

React components for faster and easier web development.

10 lines (9 loc) 370 B
import type { PropsWithChildren, ReactNode, Ref } from 'react'; export interface OptionProps { disabled?: boolean; displayValue?: string; children: ReactNode; value?: string; } declare function Option({ children, disabled, displayValue, value, }: PropsWithChildren<OptionProps>, ref: Ref<HTMLButtonElement>): JSX.Element; export default Option;