UNPKG

@hhgtech/hhg-components

Version:
19 lines (18 loc) 628 B
import React, { CSSProperties } from 'react'; export type Option = { value: string; label: string; locale?: string; }; export type Props = { options: Option[]; selected: string | number; label?: string | JSX.Element; labelRenderer?: (isOpen?: boolean) => string | JSX.Element; onChange: (s: string) => void; showSelected?: boolean; style?: CSSProperties; showIndicator?: boolean; }; declare const TooltipSelection: ({ options, label, labelRenderer, selected, onChange, showSelected, style, showIndicator, }: Props) => React.JSX.Element; export { TooltipSelection };