@bothub-chat/ui
Version:
Bothub UI Components
42 lines (41 loc) • 2.16 kB
TypeScript
import { ButtonSize, ButtonVariant } from '@/ui/components/button';
export interface AdaptiveButtonStyledProps {
$variant: ButtonVariant;
$size: ButtonSize;
}
export declare const AdaptiveButtonStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & {
disabled?: boolean;
fullWidth?: boolean;
variant?: ButtonVariant;
component?: import("@/ui/components/button").ButtonComponent;
size?: ButtonSize;
corner?: import("@/ui/components/button").ButtonCorner;
startIcon?: React.ReactNode | null;
endIcon?: React.ReactNode | null;
iconSize?: number;
iconFill?: string;
skeleton?: boolean;
htmlFor?: string;
href?: string;
color?: string;
disableHoverColor?: boolean;
children?: React.ReactNode;
} & import("react").RefAttributes<HTMLButtonElement | null>, "ref"> & {
ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement | null> | null | undefined;
}, AdaptiveButtonStyledProps>>;
export declare const AdaptiveButtonTooltip: import("styled-components").IStyledComponent<"web", {
className?: string | undefined;
variant?: import("@/ui/components/tooltip").TooltipVariant | undefined;
placement?: import("@/ui/components/tooltip").TooltipPlacement | undefined;
placementX?: number | undefined;
placementY?: number | undefined;
align?: import("@/ui/components/tooltip").TooltipAlign | undefined;
inverted?: boolean | undefined;
label?: import("react").ReactNode;
contentWidth?: number | undefined;
disabled?: boolean | undefined;
disableHiddenAnimation?: boolean | undefined;
markdown?: boolean | undefined;
hideOnScroll?: boolean | undefined;
children?: import("react").ReactNode;
}>;