A fork of @apmg/amat
that turns Prosemirror docs into valid React Native endpoints.
Install the amat-native
package from NPM using your package manager of choice. Then, import the <Body>
component from it and feed it both nodeData
and embedded
props from Prosemirror.
<Body nodeData={data.nodeData} embedded={data.embeddedAssets} />
- Confirm that the dummy Body component can be used
- Set up ESLint, Prettier and Jest and confirm that all works
- Confirm that the dummy Body will take in the props I want
- Code.tsx
- Em.tsx
- Link.tsx
- Strong.tsx
- ApmAttachment.tsx
- ApmAudio.tsx
- ApmCorrection.tsx
- [-] ApmFootnote.tsx
- [-] ApmFootnoteList.tsx
- [-] ApmFootnoteListItem.tsx
- ApmGallery.tsx
- ApmImage.tsx
- ApmOembed.tsx
- [-] ApmRelatedLink.tsx
- [-] ApmRelatedLinkListItem.tsx
- [-] ApmRelatedList.tsx
- ApmStyleBox.tsx
- [-] ApmTableOfContents.tsx
- ApmVerse.tsx
- ApmVideo.tsx
- Aside.tsx
- Blockquote.tsx
- Break.tsx
- CustomHtml.tsx
- Doc.tsx
- Heading.tsx
- HorizontalRule.tsx
- ListItem.tsx
- OrderedList.tsx
- Paragraph.tsx
- Text.tsx
- UnorderedList.tsx