You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
import React from 'react';
|
|
import { ViewStyle, TextStyle, StyleProp } from 'react-native';
|
|
import { RneFunctionComponent } from '../helpers';
|
|
import { ButtonProps } from '../buttons/Button';
|
|
declare type ButtonInformation = {
|
|
title: string;
|
|
icon?: string;
|
|
buttonStyle?: StyleProp<ViewStyle>;
|
|
titleStyle?: StyleProp<TextStyle>;
|
|
};
|
|
export declare type PricingCardProps = {
|
|
containerStyle?: StyleProp<ViewStyle>;
|
|
wrapperStyle?: StyleProp<ViewStyle>;
|
|
title?: string;
|
|
price?: string | number;
|
|
info?: string[];
|
|
button?: ButtonProps | ButtonInformation;
|
|
color?: string;
|
|
onButtonPress?(): void;
|
|
titleStyle?: StyleProp<TextStyle>;
|
|
pricingStyle?: StyleProp<TextStyle>;
|
|
infoStyle?: StyleProp<TextStyle>;
|
|
};
|
|
declare const PricingCard: RneFunctionComponent<PricingCardProps>;
|
|
declare const PricingButton: (props: ButtonProps & {
|
|
color?: string;
|
|
onButtonPress?: () => void;
|
|
}) => JSX.Element;
|
|
export { PricingCard, PricingButton };
|
|
declare const _default: React.FunctionComponent<Omit<PricingCardProps & Partial<import("../config").ThemeProps<PricingCardProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<PricingCardProps & Partial<import("../config").ThemeProps<PricingCardProps>>>;
|
|
export default _default;
|