Skip to content

Commit c0e6bc6

Browse files
author
Andrew Farries
committed
Add placeholder UI to the user settings
1 parent ea75f9e commit c0e6bc6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

components/dashboard/src/settings/Billing.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,24 @@
66

77
import { PageWithSettingsSubMenu } from "./PageWithSettingsSubMenu";
88
import { BillingAccountSelector } from "../components/BillingAccountSelector";
9+
import UsageBasedBillingConfig from "../components/UsageBasedBillingConfig";
910

1011
export default function Billing() {
1112
return (
1213
<PageWithSettingsSubMenu title="Billing" subtitle="Usage-Based Billing.">
1314
<div>
1415
<h3>Billing Account</h3>
1516
<BillingAccountSelector />
17+
<h3 className="mt-12">Usage-Based Billing</h3>
18+
<UsageBasedBillingConfig
19+
userOrTeamId={""}
20+
showSpinner={false}
21+
showUpgradeBilling={true}
22+
showManageBilling={false}
23+
doUpdateLimit={function (_: number): Promise<void> {
24+
throw new Error("Function not implemented.");
25+
}}
26+
/>
1627
</div>
1728
</PageWithSettingsSubMenu>
1829
);

0 commit comments

Comments
 (0)