1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Added store review

This commit is contained in:
Zhiyuan Zheng
2021-01-18 00:23:40 +01:00
parent f977fdfa8b
commit 5c4f7ce8c7
20 changed files with 302 additions and 108 deletions

View File

@ -122,7 +122,7 @@ const Button: React.FC<Props> = ({
style={{ opacity: loading ? 0 : 1 }}
size={StyleConstants.Font.Size[size] * (size === 'L' ? 1.25 : 1)}
/>
{loading && loadingSpinkit}
{loading ? loadingSpinkit : null}
</>
)
case 'text':
@ -141,7 +141,7 @@ const Button: React.FC<Props> = ({
children={content}
testID='text'
/>
{loading && loadingSpinkit}
{loading ? loadingSpinkit : null}
</>
)
}