File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import React from 'react';
2
2
import { ViewStyle } from 'react-native' ;
3
3
import { ViewPropTypes } from '../view' ;
4
4
import { TouchableOpacityProps } from '../touchableOpacity' ;
5
+ import { CardSectionProps } from './CardSection' ;
6
+ export { CardSectionProps } ;
5
7
export declare type CardPropTypes = ViewPropTypes & TouchableOpacityProps & {
6
8
/**
7
9
* card custom width
@@ -61,9 +63,9 @@ export declare type CardPropTypes = ViewPropTypes & TouchableOpacityProps & {
61
63
} ;
62
64
declare const _default : ( React . ComponentClass < CardPropTypes , any > & {
63
65
Image : React . ComponentType < import ( "./CardImage" ) . CardImageProps > ;
64
- Section : React . ComponentClass < import ( "./CardSection" ) . CardSectionProps , any > | React . FunctionComponent < import ( "./CardSection" ) . CardSectionProps > ;
66
+ Section : React . ComponentClass < CardSectionProps , any > | React . FunctionComponent < CardSectionProps > ;
65
67
} ) | ( React . FunctionComponent < CardPropTypes > & {
66
68
Image : React . ComponentType < import ( "./CardImage" ) . CardImageProps > ;
67
- Section : React . ComponentClass < import ( "./CardSection" ) . CardSectionProps , any > | React . FunctionComponent < import ( "./CardSection" ) . CardSectionProps > ;
69
+ Section : React . ComponentClass < CardSectionProps , any > | React . FunctionComponent < CardSectionProps > ;
68
70
} ) ;
69
71
export default _default ;
Original file line number Diff line number Diff line change 4
4
* Please use this file for declaring all the exports, so they could be picked up by typescript's complier
5
5
*/
6
6
export * from './style' ;
7
- export { default as Card , CardPropTypes } from './components/card' ;
7
+ export { default as Card , CardPropTypes , CardSectionProps } from './components/card' ;
8
8
export { default as View , ViewPropTypes } from './components/view' ;
9
9
export { default as Text } from './components/text' ;
10
10
export { default as TouchableOpacity , TouchableOpacityProps } from './components/touchableOpacity' ;
@@ -22,10 +22,6 @@ export {
22
22
Avatar ,
23
23
Badge ,
24
24
Card ,
25
- // CardProps,
26
- // CardImageProps,
27
- // CardSectionProps,
28
- // CardSectionContentProps,
29
25
Carousel ,
30
26
ConnectionStatusBar ,
31
27
Dialog ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import View, {ViewPropTypes} from '../view';
15
15
import TouchableOpacity , { TouchableOpacityProps } from '../touchableOpacity' ;
16
16
import Image from '../image' ;
17
17
import CardImage from './CardImage' ;
18
- import CardSection from './CardSection' ;
18
+ import CardSection , { CardSectionProps } from './CardSection' ;
19
19
// @ts -ignore
20
20
import Assets from '../../assets' ;
21
21
import CardContext from './CardContext' ;
@@ -31,6 +31,7 @@ const DEFAULT_SELECTION_PROPS = {
31
31
hideIndicator : false
32
32
} ;
33
33
34
+ export { CardSectionProps } ;
34
35
export type CardPropTypes = ViewPropTypes &
35
36
TouchableOpacityProps & {
36
37
/**
You can’t perform that action at this time.
0 commit comments