UNPKG

@zeushq/design-system

Version:
15 lines (14 loc) 699 B
import React from 'react'; import { Text } from './Text'; import { VariantProps, CSS } from '../stitches.config'; declare const DEFAULT_TAG = "p"; declare type ParagraphSizeVariants = '1' | '2'; declare type ParagraphVariants = { size?: ParagraphSizeVariants; } & Omit<VariantProps<typeof Text>, 'size'>; declare type ParagraphProps = React.ComponentProps<typeof DEFAULT_TAG> & ParagraphVariants & { css?: CSS; as?: any; }; export declare const Paragraph: React.ForwardRefExoticComponent<Pick<ParagraphProps, "size" | "as" | "variant" | "gradient" | "css" | "key" | keyof React.HTMLAttributes<HTMLParagraphElement>> & React.RefAttributes<HTMLParagraphElement>>; export {};