@zendeskgarden/react-dropdowns
Version:
Components related to dropdowns in the Garden Design System
20 lines (19 loc) • 1.39 kB
TypeScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import { ThemeProps, DefaultTheme } from 'styled-components';
interface IStyledInputProps extends ThemeProps<DefaultTheme> {
$isBare?: boolean;
$isCompact?: boolean;
$isEditable?: boolean;
$isMultiselectable?: boolean;
}
export declare const getHeight: (props: IStyledInputProps) => number;
export declare const sizeStyles: (props: IStyledInputProps) => import("styled-components").RuleSet<object>;
export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
}>, never>, IStyledInputProps>> & string;
export {};