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.4 to 0.1.5

6

dist/index.d.ts

@@ -1,2 +0,2 @@

import React from 'react';
/// <reference types="react" />
interface ReactTextIlluminatorProps {

@@ -7,3 +7,3 @@ textContent: string;

}
declare const ReactTextIlluminator: React.FC<ReactTextIlluminatorProps>;
export default ReactTextIlluminator;
export default function ReactTextIlluminator({ textContent, highlightTerm, highlightColor, }: ReactTextIlluminatorProps): JSX.Element;
export {};

@@ -9,3 +9,3 @@ 'use strict';

var ReactTextIlluminator = function ReactTextIlluminator(_ref) {
function ReactTextIlluminator(_ref) {
var textContent = _ref.textContent,

@@ -40,5 +40,5 @@ _ref$highlightTerm = _ref.highlightTerm,

return React.createElement("p", null, highlight(textContent, highlightTerm));
};
}
exports.default = ReactTextIlluminator;
//# sourceMappingURL=react-text-illuminator.cjs.development.js.map
import React from 'react';
var ReactTextIlluminator = function ReactTextIlluminator(_ref) {
function ReactTextIlluminator(_ref) {
var textContent = _ref.textContent,

@@ -33,5 +33,5 @@ _ref$highlightTerm = _ref.highlightTerm,

return React.createElement("p", null, highlight(textContent, highlightTerm));
};
}
export default ReactTextIlluminator;
//# sourceMappingURL=react-text-illuminator.esm.js.map
{
"version": "0.1.4",
"version": "0.1.5",
"license": "MIT",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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