IBlockquoteSlots
interface
Slots
Slot signatures for <OrigamBlockquote>. The default slot owns the citation body; author and source are optional overrides for custom rendering. When a slot is provided it wins over the matching prop.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- default() => any
- Citation body content. Replaces inline text when provided.
- author() => any
- Override for the author attribution. Wins over the author prop when provided.
- source() => any
- Override for the source attribution. Wins over the source prop when provided.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Custom author slot with a link