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

14 lines
371 B
JavaScript
Raw Permalink Normal View History

2024-05-29 05:10:39 +00:00
import url from './cli.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-29 05:10:39 +00:00
})(); }, []);
2024-10-16 22:33:27 +00:00
return ( <p dangerouslySetInnerHTML={{__html: fw}}/> );
2024-05-29 05:10:39 +00:00
};
export default FrameworkData;