@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
46 lines (45 loc) • 2.11 kB
TypeScript
import { type VariantProps } from 'class-variance-authority';
import { type PropsWithChildren } from 'react';
declare const inputVariants: (props?: ({
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
variant?: "ghost" | "outline" | null | undefined;
status?: "disabled" | "error" | "isLoading" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export type InputVariants = VariantProps<typeof inputVariants>;
export type InputStatus = 'validating' | 'invalid' | 'valid' | 'pending' | 'debouncing' | 'other';
export type InputRootProps = React.HTMLAttributes<HTMLDivElement> & InputVariants & PropsWithChildren & {
isLoading?: boolean;
error?: boolean;
disabled?: boolean;
hidden?: boolean;
};
export type InputFieldProps = React.InputHTMLAttributes<HTMLInputElement>;
export type InputTextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
minHeight?: number;
maxHeight?: number;
};
export type InputLabelProps = React.LabelHTMLAttributes<HTMLLabelElement> & PropsWithChildren & {
error?: boolean;
tooltip?: React.ReactNode;
};
export type InputHintProps = React.HTMLAttributes<HTMLParagraphElement> & PropsWithChildren & {
error?: boolean;
};
export declare const Input: {
Root: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & InputVariants & {
children?: import("react").ReactNode | undefined;
} & {
isLoading?: boolean;
error?: boolean;
disabled?: boolean;
hidden?: boolean;
} & import("react").RefAttributes<HTMLDivElement>>;
Field: import("react").ForwardRefExoticComponent<InputFieldProps & import("react").RefAttributes<HTMLInputElement>>;
Textarea: import("react").ForwardRefExoticComponent<import("react").TextareaHTMLAttributes<HTMLTextAreaElement> & {
minHeight?: number;
maxHeight?: number;
} & import("react").RefAttributes<HTMLTextAreaElement>>;
Label: import("react").FC<InputLabelProps>;
Hint: import("react").FC<InputHintProps>;
};
export {};