@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
29 lines (28 loc) • 1.54 kB
TypeScript
import { type PropsWithChildren } from 'react';
import { type VariantProps } from 'class-variance-authority';
import type { Target } from './Link';
export declare const buttonVariants: (props?: ({
variant?: "success" | "outline" | "neutral" | "accent" | "warning" | "danger" | "ghost" | "ghost-bordered" | "primary" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export type ButtonProps = PropsWithChildren & VariantProps<typeof buttonVariants> & {
id?: string;
href?: string;
className?: string;
target?: Target;
rel?: string;
onClick?: (e?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
export declare const Button: import("react").ForwardRefExoticComponent<{
children?: import("react").ReactNode | undefined;
} & VariantProps<(props?: ({
variant?: "success" | "outline" | "neutral" | "accent" | "warning" | "danger" | "ghost" | "ghost-bordered" | "primary" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
id?: string;
href?: string;
className?: string;
target?: Target;
rel?: string;
onClick?: (e?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;