UNPKG

@rn-vui/base

Version:
25 lines (24 loc) 792 B
import { ViewStyle, TextStyle, StyleProp } from 'react-native'; import { RneFunctionComponent } from '../helpers'; import { ButtonProps } from '../Button'; type ButtonInformation = { title: string; icon?: string; buttonStyle?: StyleProp<ViewStyle>; titleStyle?: StyleProp<TextStyle>; }; export interface 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>; } export declare const PricingCard: RneFunctionComponent<PricingCardProps>; export {};