element | HTMLElement string | (optional) Defines the Element Type, like p . |
medium | boolean | (optional) Tells the component to use the medium font-weight styling dnb-p--medium . More details here. |
bold | boolean | (optional) Tells the component to use the bold font-weight styling class dnb-p--bold . More details here. |
size | string | (optional) Sets the font size based on the following sizes: x-small , small , basis , medium , large , x-large or xx-large . |
modifier | string | (optional) String containing a combination of modifiers, used to set both font-size and weight in one property. e.g. x-small bold would make the paragraph extra small and bold. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |