File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
contexts/themeContext/utils Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export const Skeleton: React.FC = () => {
4141 gradientStart,
4242 gradientStop,
4343 height = 64 ,
44+ maskFillColor,
4445 } ,
4546 colors : { border, grey_gainsboro, white_snow } ,
4647 } ,
@@ -138,7 +139,7 @@ export const Skeleton: React.FC = () => {
138139 </ Svg >
139140 </ Animated . View >
140141 < Svg height = { height } width = { width } >
141- < Path d = { d . value } fill = { white_snow } />
142+ < Path d = { d . value } fill = { maskFillColor || white_snow } />
142143 </ Svg >
143144 </ View >
144145 ) ;
Original file line number Diff line number Diff line change 11import { vh } from '../../../utils/utils' ;
22
33import type { ImageStyle , TextStyle , ViewStyle } from 'react-native' ;
4- import type { CircleProps , StopProps } from 'react-native-svg' ;
4+ import type { CircleProps , Color , StopProps } from 'react-native-svg' ;
55
66import type { IconProps } from '../../../icons/utils/base' ;
77
@@ -124,6 +124,7 @@ export type Theme = {
124124 gradientStart : StopProps ;
125125 gradientStop : StopProps ;
126126 height : number ;
127+ maskFillColor ?: Color ;
127128 } ;
128129 channelPreview : {
129130 checkAllIcon : IconProps ;
You can’t perform that action at this time.
0 commit comments