API reference
components/prose
Import
Section titled “Import”import * as api from "@fungi.computer/caps/components/prose";Exports
Section titled “Exports”| 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”type ProseVariant = "default" | "dropcap";Supported Prose treatments.
ProsePropstype alias
Section titled “ProseProps”type ProseProps = object & HTMLAttributes<HTMLElement>;Props accepted by Prose.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
variant? |
ProseVariant |
Proseconstant
Section titled “Prose”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.