mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-03 07:03:30 +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 { Button, Text } from '@status-im/components'
|
||||
import Icon from './Icon'
|
||||
import Title from './Title'
|
||||
import { RevealIcon } from '@status-im/icons'
|
||||
|
||||
type TitlesProps = {
|
||||
title: string
|
||||
@ -15,7 +15,7 @@ const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => {
|
||||
<XStack style={{ justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<Title color={'#09101C'}>{title}</Title>
|
||||
{isAdvancedSettings && (
|
||||
<Button size={32} variant="outline" icon={<Icon src={'/icons/reveal.png'} />}>
|
||||
<Button size={32} variant="outline" icon={<RevealIcon size={20} />}>
|
||||
Advanced Settings
|
||||
</Button>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user