1 |
|
2 | import { ReactNode } from 'react';
|
3 | import { jsx } from '@emotion/react';
|
4 | import { CommonPropsAndClassName, CSSObjectWithLabel, GroupBase } from '../types';
|
5 | export interface ContainerProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> extends CommonPropsAndClassName<Option, IsMulti, Group> {
|
6 |
|
7 | isDisabled: boolean;
|
8 | isFocused: boolean;
|
9 |
|
10 | children: ReactNode;
|
11 |
|
12 | innerProps: JSX.IntrinsicElements['div'];
|
13 | }
|
14 | export declare const containerCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ isDisabled, isRtl, }: ContainerProps<Option, IsMulti, Group>) => CSSObjectWithLabel;
|
15 | export declare const SelectContainer: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: ContainerProps<Option, IsMulti, Group>) => jsx.JSX.Element;
|
16 | export interface ValueContainerProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> extends CommonPropsAndClassName<Option, IsMulti, Group> {
|
17 |
|
18 | innerProps?: JSX.IntrinsicElements['div'];
|
19 |
|
20 | children: ReactNode;
|
21 | isDisabled: boolean;
|
22 | }
|
23 | export declare const valueContainerCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ theme: { spacing }, isMulti, hasValue, selectProps: { controlShouldRenderValue }, }: ValueContainerProps<Option, IsMulti, Group>, unstyled: boolean) => CSSObjectWithLabel;
|
24 | export declare const ValueContainer: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: ValueContainerProps<Option, IsMulti, Group>) => jsx.JSX.Element;
|
25 | export interface IndicatorsContainerProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> extends CommonPropsAndClassName<Option, IsMulti, Group> {
|
26 | isDisabled: boolean;
|
27 |
|
28 | children: ReactNode;
|
29 |
|
30 | innerProps?: {};
|
31 | }
|
32 | export declare const indicatorsContainerCSS: () => CSSObjectWithLabel;
|
33 | export declare const IndicatorsContainer: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: IndicatorsContainerProps<Option, IsMulti, Group>) => jsx.JSX.Element;
|