@hhgtech/hhg-components
Version:
Hello Health Group common components
19 lines (18 loc) • 628 B
TypeScript
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 };