1 |
|
2 | import { ReactNode } from 'react';
|
3 | import { jsx } from '@emotion/react';
|
4 | import { CommonPropsAndClassName, CSSObjectWithLabel, GroupBase } from '../types';
|
5 | export interface SingleValueProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> extends CommonPropsAndClassName<Option, IsMulti, Group> {
|
6 |
|
7 | children: ReactNode;
|
8 |
|
9 | data: Option;
|
10 |
|
11 | innerProps: JSX.IntrinsicElements['div'];
|
12 |
|
13 | isDisabled: boolean;
|
14 | }
|
15 | export declare const css: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ isDisabled, theme: { spacing, colors }, }: SingleValueProps<Option, IsMulti, Group>, unstyled: boolean) => CSSObjectWithLabel;
|
16 | declare const SingleValue: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: SingleValueProps<Option, IsMulti, Group>) => jsx.JSX.Element;
|
17 | export default SingleValue;
|