utrecht
utrecht copied to clipboard
type="address" for paragraph component to render <address> instead of <p>
Sometimes a paragraph contains address information, then the <address>
HTML element would be more appropriate than <p>
.
Could be an opportunity to implement an alternative to the existing lead
and small
boolean properties:
interface ParagraphProps {
type?: string | 'address' | 'lead' | 'small';
}