UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

12 lines (11 loc) 760 B
import type { ReactElement } from "react"; import { type AlignVariants } from "../style/Align.js"; import { type ColorVariants } from "../style/Color.js"; import { type SpacingVariants } from "../style/Spacing.js"; import { type TypographyVariants } from "../style/Typography.js"; import type { OptionalChildProps } from "../util/props.js"; /** Resolved `.paragraph` class — for components (e.g. `Message`) that paint paragraph-shaped text without rendering a `<Paragraph>`. */ export declare const PARAGRAPH_CLASS: string | undefined; export interface ParagraphProps extends AlignVariants, ColorVariants, SpacingVariants, TypographyVariants, OptionalChildProps { } export declare function Paragraph({ children, ...variants }: ParagraphProps): ReactElement;