docs.sheetjs.com/docz/data/desktop.js

13 lines
374 B
JavaScript

import url from './desktop.xls';
import React, { useEffect, useState } from 'react';
const FrameworkData = () => {
const [fw, setFW] = useState("");
useEffect(() => { (async() => {
const html = await (await fetch(url)).json();
setFW(html["Frameworks"]);
})(); }, []);
return ( <p dangerouslySetInnerHTML={{__html: fw}}/> );
};
export default FrameworkData;