GeekyAnts / GeekyAnts/NativeBase

accessibilityLevel is throwing TypeScript warning - please support React Native Web TextTypes

Open
#5,509 1 comment 0 reactions 0 assignees View on GitHub
feature request triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

accessibilityLevel prop is throwing TypeScript warning

### Problem Statement

When trying to use accessibilityLevel on ``, you get an error about how the type doesn't exist.

Screen Shot 2022-10-25 at 12 01 13 PM
Screen Shot 2022-10-25 at 12 01 07 PM

Per discussion with Native Base Discord, it seems this is because:

> We extend Text type from react-native and not react-native-web because of that it's showing type error.

Per request, I have created this Github issue

### Proposed Solution or API

Extend Text type from react-native-web

### Alternatives

N/A

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.