From 351b4e4e84d25825ac77191d548ec027027ca602 Mon Sep 17 00:00:00 2001 From: Fawaz Ahmed Date: Wed, 12 Jun 2024 13:26:43 +0500 Subject: [PATCH] Inline default values, update version, update readme (#84) --- README.md | 4 ++++ example/src/ReadMore.js | 1 + package.json | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 921302c..c4a9f83 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ #### If it helps, do :star: it, appreciate all the support! #### Sponsor my work on [lfx crowdfunding](https://crowdfunding.lfx.linuxfoundation.org/projects/react-native-read-more) or [Tidelift](https://tidelift.com/funding/github/npm/@fawazahmed/react-native-read-more). +#### For any react-native support, reach out on email (allow 24hrs to respond) +``` +fawaz_ahmed@live.com +``` # react-native-read-more React native library to show text in a condensed way and expand when needed. Can be used with native or expo on all platforms. Supports TS/JS both. It's a pure JS solution and does not requires any native dependencies. diff --git a/example/src/ReadMore.js b/example/src/ReadMore.js index 0e4dbb3..1eef72a 100644 --- a/example/src/ReadMore.js +++ b/example/src/ReadMore.js @@ -719,6 +719,7 @@ const styles = StyleSheet.create({ container: { width: '100%', overflow: 'hidden', + position: 'relative', }, hiddenTextAbsolute: { position: 'absolute', diff --git a/package.json b/package.json index 86ac10e..4c2195e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fawazahmed/react-native-read-more", - "version": "3.0.3", + "version": "3.0.4", "description": "A simple react native library to show large blocks of text in a condensed manner with the ability to collapse and expand.", "main": "dist/index.js", "types": "index.d.ts",