@grafana/ui
Version:
Grafana Components Library
23 lines (22 loc) • 1.33 kB
TypeScript
import { ReactNode } from 'react';
import { type GroupBase } from 'react-select';
export declare const ValueContainer: import("react").FunctionComponent<{
options: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>>;
isDisabled: boolean;
children: ReactNode;
className?: string | undefined | undefined;
cx: import("react-select").CX;
getClassNames: <Key extends keyof import("react-select/dist/declarations/src/styles").StylesProps<Option, IsMulti, Group>>(propertyName: Key, props: import("react-select/dist/declarations/src/styles").StylesProps<unknown, boolean, GroupBase<unknown>>[Key]) => string | undefined;
selectProps: import("react-select/dist/declarations/src/Select").Props<unknown, boolean, GroupBase<unknown>> & import("./types").SelectCommonProps<unknown> & {
autoWidth: boolean;
};
getStyles: import("react-select").GetStyles<unknown, boolean, GroupBase<unknown>>;
innerProps?: import("react").JSX.IntrinsicElements["div"] | undefined;
clearValue: () => void;
getValue: () => import("react-select").Options<unknown>;
hasValue: boolean;
isMulti: boolean;
isRtl: boolean;
selectOption: (newValue: unknown) => void;
setValue: (newValue: unknown, action: import("react-select").SetValueAction, option?: unknown) => void;
}>;