Skip to content

Instantly share code, notes, and snippets.

@Lahannin
Created March 6, 2022 18:20
Show Gist options
  • Save Lahannin/2ee91ecc67f98af19df3cf8a075fcc74 to your computer and use it in GitHub Desktop.
Save Lahannin/2ee91ecc67f98af19df3cf8a075fcc74 to your computer and use it in GitHub Desktop.
import React from "react";
import Page from "../components/Page";
import * as Md from "../md/full";
import { PivotTable } from "@gooddata/sdk-ui-pivot";
const Home = () => {
return <Page>
<div style={{ height: 400 }}>
<PivotTable
measures={[Md.Revenue]}
rows={[Md.Region]}
/>
</div>
</Page>;
};
export default Home;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment