Skip to content

Commit 9b9473d

Browse files
committed
chore: support cursor css
1 parent 6478eca commit 9b9473d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • packages/uniwind/src/metro/processor

packages/uniwind/src/metro/processor/css.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,12 @@ export class CSS {
397397
}
398398
}
399399

400+
if ('keyword' in declarationValue) {
401+
return declarationValue.keyword === 'auto' || declarationValue.keyword === 'pointer'
402+
? declarationValue.keyword
403+
: 'auto'
404+
}
405+
400406
this.logUnsupported(`Unsupported value - ${JSON.stringify(declarationValue)}`)
401407

402408
return ''

0 commit comments

Comments
 (0)