react-text-illuminator
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"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 @@ /> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package