@linkedmd/components
v0.2.6
Published
React component to embed Linked Markdown files
Downloads
1
Readme
@linkedmd/component
React component to embed Linked Markdown files
Install
npm install --save @linkedmd/component
or
yarn add @linkedmd/component
Usage
import React, { Component } from 'react'
import { LinkedMarkdownViewer } from '@linkedmd/component'
import '@linkedmd/component/dist/index.css'
class Example extends Component {
render() {
return
<LinkedMarkdownViewer
fileURI="ipfs://bafkreibrzdmvj3n3inklvyjp5c5wmqv4w6jnafz5paaxfyk27v47gjxmhe"
/>
}
}
For a full-on example, check this.
License
MIT © nation3