@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
23 lines (22 loc) • 1.44 kB
TypeScript
import { type VariantProps } from 'class-variance-authority';
import { type PropsWithChildren } from 'react';
declare const textVariants: (props?: ({
variant?: "description" | "title" | "subtitle" | "feature" | "primary" | "secondary" | null | undefined;
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
weight?: 400 | 500 | 700 | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const validTextElement: readonly ["p", "span", "h1", "h2", "h3", "h4", "h5", "h6"];
type ValidTextElement = (typeof validTextElement)[number];
export type TextProps = PropsWithChildren & React.HTMLAttributes<HTMLParagraphElement> & VariantProps<typeof textVariants> & {
as?: ValidTextElement;
};
export declare const Text: import("react").ForwardRefExoticComponent<{
children?: import("react").ReactNode | undefined;
} & import("react").HTMLAttributes<HTMLParagraphElement> & VariantProps<(props?: ({
variant?: "description" | "title" | "subtitle" | "feature" | "primary" | "secondary" | null | undefined;
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
weight?: 400 | 500 | 700 | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
as?: ValidTextElement;
} & import("react").RefAttributes<HTMLParagraphElement>>;
export {};