fix icons (again...)
This commit is contained in:
parent
4b4b91c670
commit
28a24f6069
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import { ChevronDown } from '@status-im/icons/20'
|
import { ChevronRight } from '@status-im/icons/20'
|
||||||
import { Stack } from '@tamagui/core'
|
import { Stack } from '@tamagui/core'
|
||||||
import { AnimatePresence } from 'tamagui'
|
import { AnimatePresence } from 'tamagui'
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ const Accordion = ({
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<ChevronDown color="$neutral-50" />
|
<ChevronRight color="$neutral-50" />
|
||||||
</Stack>
|
</Stack>
|
||||||
<Paragraph
|
<Paragraph
|
||||||
marginLeft={4}
|
marginLeft={4}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { cloneElement } from 'react'
|
||||||
|
|
||||||
import { Stack, styled, Text } from '@tamagui/core'
|
import { Stack, styled, Text } from '@tamagui/core'
|
||||||
|
|
||||||
// import { Pressable } from 'react-native'
|
// import { Pressable } from 'react-native'
|
||||||
|
@ -86,7 +88,7 @@ const IconButton = (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<Base selected={selected} onPress={onPress} noBackground={noBackground}>
|
<Base selected={selected} onPress={onPress} noBackground={noBackground}>
|
||||||
<Icon selected={selected} pointerEvents="none">
|
<Icon selected={selected} pointerEvents="none">
|
||||||
{icon}
|
{cloneElement(icon, { color: '$neutral-50' })}
|
||||||
</Icon>
|
</Icon>
|
||||||
</Base>
|
</Base>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue