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