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

13 lines
374 B
JavaScript
Raw Permalink Normal View History

2024-05-28 05:20:05 +00:00
import url from './desktop.xls';
import React, { useEffect, useState } from 'react';
const FrameworkData = () => {
const [fw, setFW] = useState("");
useEffect(() => { (async() => {
2024-10-16 22:33:27 +00:00
const html = await (await fetch(url)).json();
setFW(html["Frameworks"]);
2024-05-28 05:20:05 +00:00
})(); }, []);
2024-10-16 22:33:27 +00:00
return ( <p dangerouslySetInnerHTML={{__html: fw}}/> );
2024-05-28 05:20:05 +00:00
};
export default FrameworkData;