react-jsonld
v1.0.0
Published
json-ld with ReactJS
Downloads
307
Readme
reactjs-text-to-image
json-ld with ReactJS
Install
npm install react-jsonld
Example
import JsonLd from 'react-jsonld';
...
const data = {
"@context": "http://json-ld.org/contexts/person.jsonld",
"@id": "http://dbpedia.org/resource/John_Lennon",
"name": "John Lennon",
"born": "1940-10-09",
"spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
};
<JsonLd data={data} />
...
License
MIT