UNPKG

react-native-elements

Version:
32 lines (31 loc) 1.3 kB
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;