0.1.0-beta.0 • Published 4 years ago

@apmg/amat-native v0.1.0-beta.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

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