set TabsTrigger cursor (#490)

* set TabsTrigger cursor

* a ch
This commit is contained in:
Felicio Mununga 2023-10-18 09:24:47 +02:00 committed by GitHub
parent 75ef1c2d39
commit 45be34b103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@status-im/components': patch
---
set TabsTrigger cursor

View File

@ -140,7 +140,8 @@ export type { Props as TabsProps }
const TriggerBase = styled(View, { const TriggerBase = styled(View, {
name: 'Trigger', name: 'Trigger',
role: 'button', role: 'tab',
cursor: 'pointer',
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',
@ -163,6 +164,7 @@ const TriggerBase = styled(View, {
}, },
active: { active: {
true: { true: {
cursor: 'default',
backgroundColor: '$neutral-50', backgroundColor: '$neutral-50',
}, },
false: { false: {