Skip to content

Commit ae47f3c

Browse files
docs: add nightly release info (#619)
# Summary This PR adds nightly release info to the docs ## Test Plan n/a ## Screenshots / Videos n/a ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ | | Android | ✅ | ## Checklist - [ ] E2E tests are passing - [ ] Required E2E tests have been added (if applicable)
1 parent eccacb6 commit ae47f3c

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ We can help you build your next dream product –
5656
yarn add react-native-enriched
5757
```
5858

59+
> [!TIP]
60+
> To try the latest features before they land in a stable release, install the nightly build:
61+
>
62+
> ```sh
63+
> yarn add react-native-enriched@nightly
64+
> ```
65+
>
66+
> Nightly versions are published to npm automatically and may contain breaking changes.
67+
5968
#### 2. Install iOS dependencies
6069
6170
The library includes native code so you will need to re-build the native app to use it.
@@ -318,11 +327,15 @@ You can extend the native text editing menu with custom items using the [context
318327

319328
```tsx
320329
import { EnrichedText } from 'react-native-enriched';
321-
import type { OnLinkPressEvent, OnMentionPressEvent } from 'react-native-enriched';
330+
import type {
331+
OnLinkPressEvent,
332+
OnMentionPressEvent,
333+
} from 'react-native-enriched';
322334
import { StyleSheet } from 'react-native';
323335

324336
export default function App() {
325-
const html = '<html><p>Hello, <b>world</b>! Visit <a href="https://swmansion.com">Software Mansion</a>.</p></html>';
337+
const html =
338+
'<html><p>Hello, <b>world</b>! Visit <a href="https://swmansion.com">Software Mansion</a>.</p></html>';
326339

327340
const handleLinkPress = (e: OnLinkPressEvent) => {
328341
console.log('Link pressed:', e.url);
@@ -353,7 +366,6 @@ const styles = StyleSheet.create({
353366
});
354367
```
355368

356-
357369
## API Reference
358370

359371
See the [EnrichedTextInput API Reference](docs/INPUT_API_REFERENCE.md) for a detailed overview of all the props, methods, and events available for `EnrichedTextInput`.

0 commit comments

Comments
 (0)