-
Notifications
You must be signed in to change notification settings - Fork 736
Open
Labels
buga bug in one of the componentsa bug in one of the componentstypescripttypescript related issuetypescript related issue
Description
Description
When using the prop abs
with TypeScript, it throw an error:
Property 'abs' does not exist on type 'IntrinsicAttributes & ViewProps & RefAttributes<View>'
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
- Use the
<View />
component in a TypeScript project - Set the
abs
prop to this component
Expected behavior
Be valid
Actual behavior
Invalid type
More Info
Code snippet
const Component = () => {
return <View abs />;
}
Screenshots/Video
Environment
- React Native version: 0.72
- React Native UI Lib version: 7.5.0
Affected platforms
- Android
- iOS
- Web
Metadata
Metadata
Assignees
Labels
buga bug in one of the componentsa bug in one of the componentstypescripttypescript related issuetypescript related issue