Skip to content

Instantly share code, notes, and snippets.

@bogordesaincom
Created October 14, 2025 04:39
Show Gist options
  • Select an option

  • Save bogordesaincom/016a391bb42c1d390e73925a34403a9e to your computer and use it in GitHub Desktop.

Select an option

Save bogordesaincom/016a391bb42c1d390e73925a34403a9e to your computer and use it in GitHub Desktop.
import { TableauViz } from "@tableau/embedding-api-react";
import LayoutDashboard from "../layouts/LayoutDashboard";
export default function BasicEconomy() {
return (
<LayoutDashboard>
<div style={{ position: "relative" }}>
<TableauViz
src={import.meta.env.VITE_URL_POHI}
toolbar='hidden'
device='desktop'
// height='97%'
width='100%'
disableVersionCheck
/>
{/* <div
style={{
background: "#000",
height: 30,
marginTop: -10,
overflowY: "clip",
position: "absolute",
bottom: 0,
left: 0,
right: 0,
zIndex: 2,
pointerEvents: "none", // jika kamu masih ingin iframe bisa diklik
}}
/> */}
</div>
</LayoutDashboard>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment