mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-03 15:13:38 +00:00
feat: replace reveal icon
This commit is contained in:
parent
7c86d7a412
commit
2f5086002a
Binary file not shown.
Before Width: | Height: | Size: 557 B |
@ -1,7 +1,7 @@
|
|||||||
import { XStack, YStack } from 'tamagui'
|
import { XStack, YStack } from 'tamagui'
|
||||||
import { Button, Text } from '@status-im/components'
|
import { Button, Text } from '@status-im/components'
|
||||||
import Icon from './Icon'
|
|
||||||
import Title from './Title'
|
import Title from './Title'
|
||||||
|
import { RevealIcon } from '@status-im/icons'
|
||||||
|
|
||||||
type TitlesProps = {
|
type TitlesProps = {
|
||||||
title: string
|
title: string
|
||||||
@ -15,7 +15,7 @@ const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => {
|
|||||||
<XStack style={{ justifyContent: 'space-between', alignItems: 'center' }}>
|
<XStack style={{ justifyContent: 'space-between', alignItems: 'center' }}>
|
||||||
<Title color={'#09101C'}>{title}</Title>
|
<Title color={'#09101C'}>{title}</Title>
|
||||||
{isAdvancedSettings && (
|
{isAdvancedSettings && (
|
||||||
<Button size={32} variant="outline" icon={<Icon src={'/icons/reveal.png'} />}>
|
<Button size={32} variant="outline" icon={<RevealIcon size={20} />}>
|
||||||
Advanced Settings
|
Advanced Settings
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user