Created
October 14, 2025 04:39
-
-
Save bogordesaincom/016a391bb42c1d390e73925a34403a9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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