Skip to content
API reference

components/prose

Import
import * as api from "@fungi.computer/caps/components/prose";
Kind Export Description
type alias ProseVariant Supported Prose treatments.
type alias ProseProps Props accepted by Prose.
constant Prose Tailwind Typography’s prose rhythm and measure in the active theme’s colours and faces; the caller supplies the document content.

ProseVarianttype alias

Section titled “ProseVariant”
Signature
type ProseVariant = "default" | "dropcap";

Supported Prose treatments.


ProsePropstype alias

Section titled “ProseProps”
Signature
type ProseProps = object & HTMLAttributes<HTMLElement>;

Props accepted by Prose.

Name Type
variant? ProseVariant

Proseconstant

Section titled “Prose”
Signature
const Prose: ForwardRefExoticComponent<
object & HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement>
>;

Tailwind Typography’s prose rhythm and measure in the active theme’s colours and faces; the caller supplies the document content.