2.0.1 • Published 2 years ago
@imi-thenational/shorthand-article-body v2.0.1
Shorthand Article Body Element
How do I use it?
This component is intended to be used to render a Shorthand custom embed power-up within an article body. You can incorporate this component into an article by passing in a shorthand embed url.
Usage
Upon importing the component to your repo, you can return the component with the Shorthand embedURL prop to render the Shorthand Component.
import ShorthandArticleBody from '@imi-thenational/shorthand-article-body';
...
<ShorthandArticleBody embedURL={shorthand_embed_url}/>