this is the @magic-modules P component.
if it receives a string as argument, it will return a paragraph wrapping it. if an array is received, a div containing multiple paragraphs will be returned.
npm install --save-exact @magic-modules/p
<P>Text to wrap</P>
export const View = () => [P('Text to wrap')]
export const View = () => [
P([
'First paragraph',
'Second paragraph',
['paragraph with a ', Link({ to: '/' }, 'link'), ' wrapped in the text.'],
]),
]
first release.
...