Re-usable React-Native components for use in Brightlayer UI applications
BSD 3-Clause "New" or "Revised" License
11
stars
8
forks
source link
EmptyState prop `description` has different type than in react component #546
Closed
surajeaton closed 6 months ago
Describe the bug / expected behavior
EmptyState prop
description
has different type than in react componentWhat are the steps to reproduce?
description
prop hasReactNode
type in react comp library andstring
in react native comp libraryScreenshots / Screen recording
Code snippet / Link to minimum reproduction example
Your environment information
Found while using EmptyState in https://github.com/etn-ccis/blui-react-native-workflows/blob/release/R31/login-workflow/src/screens/SuccessScreen/SuccessScreenBase.tsx
Suggested fix
We may need to update react native comp library's EmptyState description prop type to ReactNode
Anything else to add?