From b4bf2dde5f1efb9a4879ae047569ce2343476068 Mon Sep 17 00:00:00 2001 From: hyochan Date: Thu, 24 Oct 2024 02:40:54 +0900 Subject: [PATCH] 0.2.40 Add bgColor to LoadingIndicator on root provider only. --- lib/package.json | 2 +- main/providers/index.tsx | 1 + main/uis/LoadingIndicator/index.tsx | 4 +--- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/package.json b/lib/package.json index 89665a71..f8f22b4f 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,6 +1,6 @@ { "name": "dooboo-ui", - "version": "0.2.39", + "version": "0.2.40", "main": "index", "react-native": "index", "module": "index", diff --git a/main/providers/index.tsx b/main/providers/index.tsx index de9febb7..f681a975 100644 --- a/main/providers/index.tsx +++ b/main/providers/index.tsx @@ -87,6 +87,7 @@ function AppProvider({children}: {children: JSX.Element}): JSX.Element { align-self: stretch; flex: 1; justify-content: center; + background-color: ${themeContext.theme.bg.basic}; `} /> ) : ( diff --git a/main/uis/LoadingIndicator/index.tsx b/main/uis/LoadingIndicator/index.tsx index 8ca985de..9245e7c4 100644 --- a/main/uis/LoadingIndicator/index.tsx +++ b/main/uis/LoadingIndicator/index.tsx @@ -23,9 +23,7 @@ type Props = { customElement?: JSX.Element | (() => JSX.Element); }; -const Container = styled.View` - background-color: ${({theme}) => theme.bg.basic}; -`; +const Container = styled.View``; export function LoadingIndicator({ customElement,