GeekyAnts / GeekyAnts/NativeBase
Typing issue with extended theme
Open
bug
typescript
v3
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Extending custom prop with component props in `baseStyle` is not working with typescript. Facing typing issue.
### CodeSandbox/Snack link
https://codesandbox.io
### Steps to reproduce
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
### NativeBase Version
3.4.9
### Platform
- [X] Android
- [X] CRA
- [X] Expo
- [X] iOS
- [X] Next
### Other Platform
_No response_
### Additional Information
```
Box: {
baseStyle: ( {customProp} : IBoxProps & {customProp: string} ) => ({
bg: customProp,
}),
},
```
Contributor guide
Assessment
This issue has not been assessed yet.