amat-native

0.1.0-beta.67 • Public • Published

React Native Amat

A fork of @apmg/amat that turns Prosemirror docs into valid React Native endpoints.

Usage

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

Components

  • 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

Package Sidebar

Install

npm i amat-native

Weekly Downloads

6

Version

0.1.0-beta.67

License

MIT

Unpacked Size

53.5 kB

Total Files

58

Last publish

Collaborators

  • kimthompson