@@ -61,8 +61,127 @@ export declare type CardPropTypes = ViewPropTypes & TouchableOpacityProps & {
61
61
hideIndicator ?: boolean ;
62
62
} ;
63
63
} ;
64
- declare const _default : React . ComponentClass < CardPropTypes , any > & {
64
+ declare const _default : React . ComponentClass < ViewPropTypes & import ( "react-native" ) . TouchableOpacityProps & Partial < Record < import ( "../../commons/modifiers" ) . AlignmentLiterals , boolean > > & Partial < Record < import ( "../../commons/modifiers" ) . PositionLiterals , boolean > > & Partial < Record < "padding" | "paddingL" | "paddingT" | "paddingR" | "paddingB" | "paddingH" | "paddingV" , boolean > > & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & Partial < Record < "flex" | "flexG" | "flexS" , boolean > > & Partial < Record < "br0" | "br10" | "br20" | "br30" | "br40" | "br50" | "br60" | "br100" , boolean > > & Partial < Record < "bg" , boolean > > & {
65
+ backgroundColor ?: string | undefined ;
66
+ throttleTime ?: number | undefined ;
67
+ throttleOptions ?: {
68
+ leading : boolean ;
69
+ trailing : boolean ;
70
+ } | undefined ;
71
+ activeBackgroundColor ?: string | undefined ;
72
+ useNative ?: boolean | undefined ;
73
+ ref ?: any ;
74
+ } & {
75
+ /**
76
+ * card custom width
77
+ */
78
+ width ?: string | number | undefined ;
79
+ /**
80
+ * card custom height
81
+ */
82
+ height ?: string | number | undefined ;
83
+ /**
84
+ * should inner card flow direction be horizontal
85
+ */
86
+ row ?: boolean | undefined ;
87
+ /**
88
+ * card border radius (will be passed to inner Card.Image component)
89
+ */
90
+ borderRadius ?: number | undefined ;
91
+ /**
92
+ * action for when pressing the card
93
+ */
94
+ onPress ?: ( ( ) => void ) | undefined ;
95
+ /**
96
+ * whether the card should have shadow or not
97
+ */
98
+ enableShadow ?: boolean | undefined ;
99
+ /**
100
+ * elevation value (Android only)
101
+ */
102
+ elevation ?: number | undefined ;
103
+ /**
104
+ * enable blur effect (iOS only)
105
+ */
106
+ enableBlur ?: boolean | undefined ;
107
+ /**
108
+ * blur option for blur effect according to @react-native-community/blur lib (make sure enableBlur is on)
109
+ */
110
+ blurOptions ?: object | undefined ;
111
+ /**
112
+ * Additional styles for the top container
113
+ */
114
+ containerStyle ?: ViewStyle | undefined ;
115
+ /**
116
+ * Adds visual indication that the card is selected
117
+ */
118
+ selected ?: boolean | undefined ;
119
+ /**
120
+ * Custom options for styling the selection indication
121
+ */
122
+ selectionOptions ?: {
123
+ icon ?: number | undefined ;
124
+ iconColor ?: string | undefined ;
125
+ color ?: string | undefined ;
126
+ borderWidth ?: number | undefined ;
127
+ indicatorSize ?: number | undefined ;
128
+ hideIndicator ?: boolean | undefined ;
129
+ } | undefined ;
130
+ } & {
131
+ useCustomTheme ?: boolean | undefined ;
132
+ } , any > & {
65
133
Image : React . ComponentType < import ( "./CardImage" ) . CardImageProps > ;
66
- Section : React . ComponentClass < CardSectionProps , any > ;
134
+ Section : React . ComponentClass < ViewPropTypes & {
135
+ content ?: ( ( import ( "react-native" ) . TextProps & import ( "../../commons/modifiers" ) . CustomModifier & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & {
136
+ color ?: string | undefined ;
137
+ center ?: boolean | undefined ;
138
+ uppercase ?: boolean | undefined ;
139
+ highlightString ?: string | undefined ;
140
+ highlightStyle ?: import ( "react-native" ) . TextStyle | undefined ;
141
+ animated ?: boolean | undefined ;
142
+ textAlign ?: string | undefined ;
143
+ } & {
144
+ text ?: string | undefined ;
145
+ } ) | ( import ( "react-native" ) . TextProps & import ( "../../commons/modifiers" ) . CustomModifier & Partial < Record < "black" | "white" | "dark10" | "dark20" | "dark30" | "dark40" | "dark50" | "dark60" | "dark70" | "dark80" | "grey10" | "grey20" | "grey30" | "grey40" | "grey50" | "grey60" | "grey70" | "grey80" | "blue10" | "blue20" | "blue30" | "blue40" | "blue50" | "blue60" | "blue70" | "blue80" | "cyan10" | "cyan20" | "cyan30" | "cyan40" | "cyan50" | "cyan60" | "cyan70" | "cyan80" | "green10" | "green20" | "green30" | "green40" | "green50" | "green60" | "green70" | "green80" | "yellow10" | "yellow20" | "yellow30" | "yellow40" | "yellow50" | "yellow60" | "yellow70" | "yellow80" | "orange10" | "orange20" | "orange30" | "orange40" | "orange50" | "orange60" | "orange70" | "orange80" | "red10" | "red20" | "red30" | "red40" | "red50" | "red60" | "red70" | "red80" | "purple10" | "purple20" | "purple30" | "purple40" | "purple50" | "purple60" | "purple70" | "purple80" | "violet10" | "violet20" | "violet30" | "violet40" | "violet50" | "violet60" | "violet70" | "violet80" , boolean > > & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & {
146
+ color ?: string | undefined ;
147
+ center ?: boolean | undefined ;
148
+ uppercase ?: boolean | undefined ;
149
+ highlightString ?: string | undefined ;
150
+ highlightStyle ?: import ( "react-native" ) . TextStyle | undefined ;
151
+ animated ?: boolean | undefined ;
152
+ textAlign ?: string | undefined ;
153
+ } & {
154
+ text ?: string | undefined ;
155
+ } ) | ( import ( "react-native" ) . TextProps & Partial < Record < "text10" | "text20" | "text30" | "text40" | "text50" | "text60" | "text65" | "text70" | "text80" | "text90" | "text100" | "text10T" | "text10L" | "text10R" | "text10M" | "text10BO" | "text10H" | "text10BL" | "text20T" | "text20L" | "text20R" | "text20M" | "text20BO" | "text20H" | "text20BL" | "text30T" | "text30L" | "text30R" | "text30M" | "text30BO" | "text30H" | "text30BL" | "text40T" | "text40L" | "text40R" | "text40M" | "text40BO" | "text40H" | "text40BL" | "text50T" | "text50L" | "text50R" | "text50M" | "text50BO" | "text50H" | "text50BL" | "text60T" | "text60L" | "text60R" | "text60M" | "text60BO" | "text60H" | "text60BL" | "text65T" | "text65L" | "text65R" | "text65M" | "text65BO" | "text65H" | "text65BL" | "text70T" | "text70L" | "text70R" | "text70M" | "text70BO" | "text70H" | "text70BL" | "text80T" | "text80L" | "text80R" | "text80M" | "text80BO" | "text80H" | "text80BL" | "text90T" | "text90L" | "text90R" | "text90M" | "text90BO" | "text90H" | "text90BL" | "text100T" | "text100L" | "text100R" | "text100M" | "text100BO" | "text100H" | "text100BL" , boolean > > & import ( "../../commons/modifiers" ) . CustomModifier & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & {
156
+ color ?: string | undefined ;
157
+ center ?: boolean | undefined ;
158
+ uppercase ?: boolean | undefined ;
159
+ highlightString ?: string | undefined ;
160
+ highlightStyle ?: import ( "react-native" ) . TextStyle | undefined ;
161
+ animated ?: boolean | undefined ;
162
+ textAlign ?: string | undefined ;
163
+ } & {
164
+ text ?: string | undefined ;
165
+ } ) | ( import ( "react-native" ) . TextProps & Partial < Record < "text10" | "text20" | "text30" | "text40" | "text50" | "text60" | "text65" | "text70" | "text80" | "text90" | "text100" | "text10T" | "text10L" | "text10R" | "text10M" | "text10BO" | "text10H" | "text10BL" | "text20T" | "text20L" | "text20R" | "text20M" | "text20BO" | "text20H" | "text20BL" | "text30T" | "text30L" | "text30R" | "text30M" | "text30BO" | "text30H" | "text30BL" | "text40T" | "text40L" | "text40R" | "text40M" | "text40BO" | "text40H" | "text40BL" | "text50T" | "text50L" | "text50R" | "text50M" | "text50BO" | "text50H" | "text50BL" | "text60T" | "text60L" | "text60R" | "text60M" | "text60BO" | "text60H" | "text60BL" | "text65T" | "text65L" | "text65R" | "text65M" | "text65BO" | "text65H" | "text65BL" | "text70T" | "text70L" | "text70R" | "text70M" | "text70BO" | "text70H" | "text70BL" | "text80T" | "text80L" | "text80R" | "text80M" | "text80BO" | "text80H" | "text80BL" | "text90T" | "text90L" | "text90R" | "text90M" | "text90BO" | "text90H" | "text90BL" | "text100T" | "text100L" | "text100R" | "text100M" | "text100BO" | "text100H" | "text100BL" , boolean > > & Partial < Record < "black" | "white" | "dark10" | "dark20" | "dark30" | "dark40" | "dark50" | "dark60" | "dark70" | "dark80" | "grey10" | "grey20" | "grey30" | "grey40" | "grey50" | "grey60" | "grey70" | "grey80" | "blue10" | "blue20" | "blue30" | "blue40" | "blue50" | "blue60" | "blue70" | "blue80" | "cyan10" | "cyan20" | "cyan30" | "cyan40" | "cyan50" | "cyan60" | "cyan70" | "cyan80" | "green10" | "green20" | "green30" | "green40" | "green50" | "green60" | "green70" | "green80" | "yellow10" | "yellow20" | "yellow30" | "yellow40" | "yellow50" | "yellow60" | "yellow70" | "yellow80" | "orange10" | "orange20" | "orange30" | "orange40" | "orange50" | "orange60" | "orange70" | "orange80" | "red10" | "red20" | "red30" | "red40" | "red50" | "red60" | "red70" | "red80" | "purple10" | "purple20" | "purple30" | "purple40" | "purple50" | "purple60" | "purple70" | "purple80" | "violet10" | "violet20" | "violet30" | "violet40" | "violet50" | "violet60" | "violet70" | "violet80" , boolean > > & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & {
166
+ color ?: string | undefined ;
167
+ center ?: boolean | undefined ;
168
+ uppercase ?: boolean | undefined ;
169
+ highlightString ?: string | undefined ;
170
+ highlightStyle ?: import ( "react-native" ) . TextStyle | undefined ;
171
+ animated ?: boolean | undefined ;
172
+ textAlign ?: string | undefined ;
173
+ } & {
174
+ text ?: string | undefined ;
175
+ } ) ) [ ] | undefined ;
176
+ contentStyle ?: ViewStyle | undefined ;
177
+ backgroundColor ?: string | undefined ;
178
+ leadingIcon ?: import ( "../image" ) . ImageProps | undefined ;
179
+ trailingIcon ?: import ( "../image" ) . ImageProps | undefined ;
180
+ imageSource ?: number | import ( "react-native" ) . ImageURISource | import ( "react-native" ) . ImageURISource [ ] | undefined ;
181
+ imageStyle ?: import ( "react-native" ) . ImageStyle | undefined ;
182
+ imageProps ?: import ( "../image" ) . ImageProps | undefined ;
183
+ } & {
184
+ useCustomTheme ?: boolean | undefined ;
185
+ } , any > ;
67
186
} ;
68
187
export default _default ;
0 commit comments