Paragraph component
Usage
Import like this:
import { Paragraph } from '@tdcerhverv/paragraph';
Use like this:
<Paragraph>Everything is awesome!</Paragraph>
Props
export interface IParagraph extends HTMLAttributes<HTMLParagraphElement> {
children?: ReactNode;
size?: 'small' | 'medium' | 'large'; // default: medium
weight?: 'thin' | 'regular' | 'strong'; // default: regular
align?: 'left' | 'center' | 'right' | 'justify';
uppercase?: boolean;
emphasis?: boolean;
className?: string;
lightColored?: boolean;
dangerouslySetInnerHTML?: { __html: string; }
}