Releases: fawaz-ahmed/react-native-read-more
Inline default values
Remove defaultProps
Apply inline default values
Add relative position to wrapper style
Update readme to include email
Pass params to onReady
Update readme
3.0.2 update readme
Remove deprecated TextPropTypes
Removing deprecated proptypes for Text component.
Allow collapse/expand via props
Allow collapse and expand via collapsed
prop.
For more information see issue #61
Breaking changes:
- prop
onSeeMoreBlocked
replaced withonSeeMore
No impact changes:
- if prop is passed
animate={false}
, it will not enable global layout animation in andorid
New props added:
collapsed
onSeeMore
onSeeLess
Trigger onReady when see more is hidden
Bug resolved:
#68
Add option to open modal instead of expanding
This feature will allow users to open a modal or do any other operation when see more is pressed.
Thanks to @ChrisLFieldsII for adding this feature
Update index.ts types
Make seeMoreContainerStyleSecondary type optional in index.ts
Transpile package
Transpile package
Add example and unwanted files to .npmignore
Update lib
Handle any View component inside children (1 level deep nested).
Update props to use TextProps
Remove preserve line break prop.
Update Readme for usage with HTML text