@@ -125,8 +125,8 @@ declare function createStyles(props: BadgeProps): {
125
125
textAlign ?: "auto" | "left" | "right" | "center" | "justify" | undefined ;
126
126
textDecorationLine ?: "none" | "underline" | "line-through" | "underline line-through" | undefined ;
127
127
textDecorationStyle ?: "solid" | "double" | "dotted" | "dashed" | undefined ;
128
- textDecorationColor ?: string | undefined ;
129
- textShadowColor ?: string | undefined ;
128
+ textDecorationColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
129
+ textShadowColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
130
130
textShadowOffset ?: {
131
131
width : number ;
132
132
height : number ;
@@ -137,22 +137,22 @@ declare function createStyles(props: BadgeProps): {
137
137
fontVariant ?: import ( "react-native" ) . FontVariant [ ] | undefined ;
138
138
writingDirection ?: "auto" | "ltr" | "rtl" | undefined ;
139
139
backfaceVisibility ?: "visible" | "hidden" | undefined ;
140
- borderBottomColor ?: string | undefined ;
140
+ borderBottomColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
141
141
borderBottomEndRadius ?: number | undefined ;
142
142
borderBottomLeftRadius ?: number | undefined ;
143
143
borderBottomRightRadius ?: number | undefined ;
144
144
borderBottomStartRadius ?: number | undefined ;
145
145
borderBottomWidth ?: number | undefined ;
146
- borderColor ?: string | undefined ;
147
- borderEndColor ?: string | undefined ;
148
- borderLeftColor ?: string | undefined ;
146
+ borderColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
147
+ borderEndColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
148
+ borderLeftColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
149
149
borderLeftWidth ?: number | undefined ;
150
150
borderRadius ?: number | undefined ;
151
- borderRightColor ?: string | undefined ;
151
+ borderRightColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
152
152
borderRightWidth ?: number | undefined ;
153
- borderStartColor ?: string | undefined ;
153
+ borderStartColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
154
154
borderStyle ?: "solid" | "dotted" | "dashed" | undefined ;
155
- borderTopColor ?: string | undefined ;
155
+ borderTopColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
156
156
borderTopEndRadius ?: number | undefined ;
157
157
borderTopLeftRadius ?: number | undefined ;
158
158
borderTopRightRadius ?: number | undefined ;
@@ -209,7 +209,7 @@ declare function createStyles(props: BadgeProps): {
209
209
width ?: string | number | undefined ;
210
210
zIndex ?: number | undefined ;
211
211
direction ?: "ltr" | "rtl" | "inherit" | undefined ;
212
- shadowColor ?: string | undefined ;
212
+ shadowColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
213
213
shadowOffset ?: {
214
214
width : number ;
215
215
height : number ;
@@ -228,7 +228,7 @@ declare function createStyles(props: BadgeProps): {
228
228
} ;
229
229
labelSmall : {
230
230
lineHeight : undefined ;
231
- color ?: string | undefined ;
231
+ color ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
232
232
fontFamily ?: string | undefined ;
233
233
fontSize ?: number | undefined ;
234
234
fontStyle ?: "normal" | "italic" | undefined ;
@@ -237,8 +237,8 @@ declare function createStyles(props: BadgeProps): {
237
237
textAlign ?: "auto" | "left" | "right" | "center" | "justify" | undefined ;
238
238
textDecorationLine ?: "none" | "underline" | "line-through" | "underline line-through" | undefined ;
239
239
textDecorationStyle ?: "solid" | "double" | "dotted" | "dashed" | undefined ;
240
- textDecorationColor ?: string | undefined ;
241
- textShadowColor ?: string | undefined ;
240
+ textDecorationColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
241
+ textShadowColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
242
242
textShadowOffset ?: {
243
243
width : number ;
244
244
height : number ;
@@ -249,23 +249,23 @@ declare function createStyles(props: BadgeProps): {
249
249
fontVariant ?: import ( "react-native" ) . FontVariant [ ] | undefined ;
250
250
writingDirection ?: "auto" | "ltr" | "rtl" | undefined ;
251
251
backfaceVisibility ?: "visible" | "hidden" | undefined ;
252
- backgroundColor ?: string | undefined ;
253
- borderBottomColor ?: string | undefined ;
252
+ backgroundColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
253
+ borderBottomColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
254
254
borderBottomEndRadius ?: number | undefined ;
255
255
borderBottomLeftRadius ?: number | undefined ;
256
256
borderBottomRightRadius ?: number | undefined ;
257
257
borderBottomStartRadius ?: number | undefined ;
258
258
borderBottomWidth ?: number | undefined ;
259
- borderColor ?: string | undefined ;
260
- borderEndColor ?: string | undefined ;
261
- borderLeftColor ?: string | undefined ;
259
+ borderColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
260
+ borderEndColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
261
+ borderLeftColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
262
262
borderLeftWidth ?: number | undefined ;
263
263
borderRadius ?: number | undefined ;
264
- borderRightColor ?: string | undefined ;
264
+ borderRightColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
265
265
borderRightWidth ?: number | undefined ;
266
- borderStartColor ?: string | undefined ;
266
+ borderStartColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
267
267
borderStyle ?: "solid" | "dotted" | "dashed" | undefined ;
268
- borderTopColor ?: string | undefined ;
268
+ borderTopColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
269
269
borderTopEndRadius ?: number | undefined ;
270
270
borderTopLeftRadius ?: number | undefined ;
271
271
borderTopRightRadius ?: number | undefined ;
@@ -322,7 +322,7 @@ declare function createStyles(props: BadgeProps): {
322
322
width ?: string | number | undefined ;
323
323
zIndex ?: number | undefined ;
324
324
direction ?: "ltr" | "rtl" | "inherit" | undefined ;
325
- shadowColor ?: string | undefined ;
325
+ shadowColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
326
326
shadowOffset ?: {
327
327
width : number ;
328
328
height : number ;
@@ -374,7 +374,7 @@ declare const _default: React.ComponentClass<ViewProps & TouchableOpacityProps &
374
374
/**
375
375
* color of border around the badge
376
376
*/
377
- borderColor ?: string | undefined ;
377
+ borderColor ?: string | typeof import ( "react-native" ) . OpaqueColorValue | undefined ;
378
378
/**
379
379
* Additional styles for the top container
380
380
*/
0 commit comments