IconCircle
This commit is contained in:
@@ -2,14 +2,14 @@ import React from 'react'
|
|||||||
import {View} from 'react-native'
|
import {View} from 'react-native'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
useTheme,
|
|
||||||
atoms as a,
|
atoms as a,
|
||||||
ViewStyleProp,
|
|
||||||
TextStyleProp,
|
|
||||||
flatten,
|
flatten,
|
||||||
|
TextStyleProp,
|
||||||
|
useTheme,
|
||||||
|
ViewStyleProp,
|
||||||
} from '#/alf'
|
} from '#/alf'
|
||||||
import {Growth_Stroke2_Corner0_Rounded as Growth} from '#/components/icons/Growth'
|
|
||||||
import {Props} from '#/components/icons/common'
|
import {Props} from '#/components/icons/common'
|
||||||
|
import {Growth_Stroke2_Corner0_Rounded as Growth} from '#/components/icons/Growth'
|
||||||
|
|
||||||
export function IconCircle({
|
export function IconCircle({
|
||||||
icon: Icon,
|
icon: Icon,
|
||||||
@@ -32,8 +32,7 @@ export function IconCircle({
|
|||||||
{
|
{
|
||||||
width: size === 'lg' ? 52 : 64,
|
width: size === 'lg' ? 52 : 64,
|
||||||
height: size === 'lg' ? 52 : 64,
|
height: size === 'lg' ? 52 : 64,
|
||||||
backgroundColor:
|
backgroundColor: t.palette.primary_50,
|
||||||
t.name === 'light' ? t.palette.primary_50 : t.palette.primary_950,
|
|
||||||
},
|
},
|
||||||
flatten(style),
|
flatten(style),
|
||||||
]}>
|
]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user