1 | import * as React from 'react';
|
2 | import {StyletronComponent} from 'styletron-react';
|
3 | import valid from 'card-validator';
|
4 | import {Override} from '../overrides';
|
5 | import {
|
6 | SIZE,
|
7 | StatefulContainer,
|
8 | InputProps,
|
9 | InputOverrides,
|
10 | StatefulContainerProps,
|
11 | } from '../input';
|
12 |
|
13 | export {SIZE, StatefulContainer};
|
14 |
|
15 | export {valid};
|
16 |
|
17 | export type PaymentCardOverrides = InputOverrides & {
|
18 | IconWrapper?: Override<any>;
|
19 | };
|
20 |
|
21 | export type PaymentCardProps = InputProps & {overrides?: PaymentCardOverrides};
|
22 | export type StatefulPaymentCardProps = InputProps &
|
23 | StatefulContainerProps & {children?: never; overrides?: PaymentCardOverrides};
|
24 |
|
25 | export const StatefulPaymentCard: React.FC<StatefulPaymentCardProps>;
|
26 | export class PaymentCard extends React.Component<PaymentCardProps> {}
|
27 |
|
28 | export const StyledIconWrapper: StyletronComponent<any>;
|