/* eslint-disable react/no-multi-comp */ import React, { useState } from "react"; import { Overlay, Table, Button } from "playbook-ui"; const TableExample = () => { return ( {Array.from({ length: 7 }, (_, index) => ( {Array.from({ length: 5 }, (_, columnIndex) => ( ))} ))}
{"Column 1"} {"Column 2"} {"Column 3"} {"Column 4"} {"Column 5"}
{`Value ${columnIndex + 1}`}
); }; const OverlayToggle = () => { const [showOverlay, setShowOverlay] = useState(true); return ( <> {showOverlay ? ( <>