UNPKG

1.3 kBTypeScriptView Raw
1import React from 'react';
2import { ViewStyle, TextStyle, StyleProp } from 'react-native';
3import { RneFunctionComponent } from '../helpers';
4import { ButtonProps } from '../buttons/Button';
5declare type ButtonInformation = {
6 title: string;
7 icon?: string;
8 buttonStyle?: StyleProp<ViewStyle>;
9 titleStyle?: StyleProp<TextStyle>;
10};
11export declare type PricingCardProps = {
12 containerStyle?: StyleProp<ViewStyle>;
13 wrapperStyle?: StyleProp<ViewStyle>;
14 title?: string;
15 price?: string | number;
16 info?: string[];
17 button?: ButtonProps | ButtonInformation;
18 color?: string;
19 onButtonPress?(): void;
20 titleStyle?: StyleProp<TextStyle>;
21 pricingStyle?: StyleProp<TextStyle>;
22 infoStyle?: StyleProp<TextStyle>;
23};
24declare const PricingCard: RneFunctionComponent<PricingCardProps>;
25declare const PricingButton: (props: ButtonProps & {
26 color?: string;
27 onButtonPress?: () => void;
28}) => JSX.Element;
29export { PricingCard, PricingButton };
30declare const _default: React.FunctionComponent<Omit<PricingCardProps & Partial<import("../config").ThemeProps<PricingCardProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<PricingCardProps & Partial<import("../config").ThemeProps<PricingCardProps>>>;
31export default _default;