mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 14:04:03 +00:00
Refactor(billing): Standardize subscription cadence display
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import { SubscriptionCadence } from "@bitwarden/common/billing/types/subscription-pricing-tier";
|
||||
import { BitwardenIcon, ButtonType } from "@bitwarden/components";
|
||||
|
||||
export type SubscriptionPricingCardDetails = {
|
||||
title: string;
|
||||
tagline: string;
|
||||
price?: { amount: number; cadence: SubscriptionCadence };
|
||||
button: {
|
||||
text: string;
|
||||
type: ButtonType;
|
||||
icon?: { type: BitwardenIcon; position: "before" | "after" };
|
||||
price?: {
|
||||
amount: number;
|
||||
cadence: "month" | "monthly" | "year" | "annually";
|
||||
showPerUser?: boolean;
|
||||
};
|
||||
button: { text: string; type: ButtonType; icon?: { type: BitwardenIcon; position: "before" | "after" } };
|
||||
features: string[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user