14 lines
374 B
JavaScript
14 lines
374 B
JavaScript
import url from './mobile.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;
|