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