Skip to content

Instantly share code, notes, and snippets.

@Danm72
Created September 15, 2023 17:56
Show Gist options
  • Save Danm72/8a9ba53a7e60692a29ee58123fed3681 to your computer and use it in GitHub Desktop.
Save Danm72/8a9ba53a7e60692a29ee58123fed3681 to your computer and use it in GitHub Desktop.
V0.dev pricing
```typescript
export type Feature = {
icon: ImageType;
name: string;
}
export type PricingProps = {
packageType: string;
price: string;
features: Feature[];
callToAction: ButtonProps;
theme?: {
title?: {
color?: TitleColorType;
size?: TitleSizeType;
};
price?: {
color?: IntroColorType;
};
feature?: {
icon?: {
color?: IconColorType;
size?: IconSizeType;
};
name?: {
color?: IntroColorType;
align?: TextAlignType;
}
};
callToAction?: {
color?: ButtonColorType;
type?: ButtonType;
size?: ButtonSizeType;
};
};
};
export type BlockProps = {
pricing: PricingProps[];
theme: {
section: {
background: BackgroundColorType;
space: SpaceType;
};
};
};
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment