Skip to content

Instantly share code, notes, and snippets.

Avatar

feederaccount

View GitHub Profile
View MyReactTable.js
export default function CloudfrontList() {
const [loading, setLoading] = useState(true);
const [columns, setColumns] = useState([]);
const [data, setData] = useState([]);
const getDataForTable = async () => {
const _columns = [{
Header: "Name",
Cell: cell => {
const row = cell.row.original;
You can’t perform that action at this time.