Created
March 30, 2023 09:08
-
-
Save aycabas/6d77b7f466ba4c58261eefd08a75c1e3 to your computer and use it in GitHub Desktop.
Sample Dashboard
This file contains 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 { Dashboard } from "../lib/Dashboard"; | |
import { DevOps } from "../widgets/DevOpsWidget"; | |
import { GithubIssues } from "../widgets/GitHubWidget"; | |
import { oneColumn } from "../lib/Dashboard.styles"; | |
export default class SampleDashboard extends Dashboard { | |
protected rowHeights(): string | undefined { | |
return "320px 400px"; | |
} | |
protected columnWidths(): string | undefined { | |
return "11fr 5fr"; | |
} | |
protected dashboardLayout(): undefined | JSX.Element { | |
return ( | |
<> | |
<div style={oneColumn()}> | |
<DevOps /> | |
<GithubIssues /> | |
</div> | |
</> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment