
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
ar-react-native-text-highlight
Advanced tools
React Native component used to highlight character within a word. This is a port of [react-native-text-highlight](https://github.com/Anand-Rakesh/React-Native-Text-Highlight).
React Native component used to highlight character within a word. This is a part of ar-react-native-text-highlight.
Check out a example.
Using npm:
npm i --save ar-react-native-text-highlight
Using yarn:
yarn add ar-react-native-text-highlight
To use it, just provide it a search text and searchable word with if searchable true or false.
import {TextHighlight} from 'ar-react-native-text-highlight';
<TextHighlight
text={`Anand Rakesh`}
isSearchable={true}
highlightedColor={'yellow'}
searchText={'Ra An'}
/>;
And the Highlighter component will highlight all occurrences of search terms within the text:
Note - This is all the dummy data which are used in example.

| Property | Type | Required? | Description |
|---|---|---|---|
| text | String | ✓ | The text which is need to display |
| style | Object | Styles applied to text | |
| isSearchable | Boolean | if you want to search(hightlight) character in word pass as true value or else false default value is false | |
| highlightedColor | String | Apply any color you want to show in highlighted text Default value is yellow wrapper | |
| searchText | String | Searchable text value. |
MIT License - fork, modify and use however you want.
FAQs
React Native component used to highlight character within a word. This is a port of [react-native-text-highlight](https://github.com/Anand-Rakesh/React-Native-Text-Highlight).
We found that ar-react-native-text-highlight demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.