table: use background color while loading

This commit is contained in:
Jed Fox
2022-09-08 08:57:40 -04:00
parent f17981f2d8
commit 6b320a405f

View File

@@ -988,7 +988,14 @@ export const Table = React.forwardRef(
if (loading) {
return (
<View
style={[{ flex: 1, justifyContent: 'center', alignItems: 'center' }]}
style={[
{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor
}
]}
>
<AnimatedLoading width={25} color={colors.n1} />
</View>