Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-text-illuminator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-text-illuminator - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"version": "0.1.2",
"version": "0.1.3",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/index.js",

@@ -19,7 +19,7 @@ # ReactTextIlluminator

| Prop | Type | Description | Default Value |
| ----------------- | -------- | ---------------------------------------------------- | ------------- |
| `textContent` | `string` | The text content to be displayed. | - |
| `highlightedText` | `string` | The text to be highlighted within the `textContent`. | - |
| `highlightColor` | `string` | The background color used for highlighting. | `"yellow"` |
| Prop | Type | Description | Default Value |
| ---------------- | -------- | ---------------------------------------------------- | ------------- |
| `textContent` | `string` | The text content to be displayed. | - |
| `highlightTerm` | `string` | The text to be highlighted within the `textContent`. | - |
| `highlightColor` | `string` | The background color used for highlighting. | `"yellow"` |

@@ -39,4 +39,4 @@ ## Usage

<ReactTextIlluminator
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
highlightedText="Lorem"
textContent="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
highlightTerm="Lorem"
highlightColor="yellow"

@@ -43,0 +43,0 @@ />

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc