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

14 lines
371 B
JavaScript

import url from './cli.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;