@zendeskgarden/react-dropdowns
Version:
Components related to dropdowns in the Garden Design System
24 lines (23 loc) • 1.38 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';
import { Validation } from '../../types';
interface IStyledTriggerProps extends ThemeProps<DefaultTheme> {
$isAutocomplete?: boolean;
$isBare?: boolean;
$isCompact?: boolean;
$isEditable?: boolean;
$isLabelHovered?: boolean;
$isMultiselectable?: boolean;
$maxHeight?: string;
$focusInset?: boolean;
$validation?: Validation;
}
export declare const StyledTrigger: 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").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
ref?: ((instance: HTMLDivElement | 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<HTMLDivElement> | null | undefined;
}>, never>, IStyledTriggerProps>> & string;
export {};