ansi-to-react
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -9,2 +9,4 @@ "use strict"; | ||
exports.ansiToInlineStyle = ansiToInlineStyle; | ||
var _react = require("react"); | ||
@@ -11,0 +13,0 @@ |
{ | ||
"name": "ansi-to-react", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "ANSI to React Elements", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -38,3 +38,3 @@ /* @flow */ | ||
function ansiToInlineStyle(text) { | ||
export function ansiToInlineStyle(text: string) { | ||
return ansiToJSON(text).map(ansiJSONtoStyleBundle); | ||
@@ -83,3 +83,3 @@ } | ||
type Props = { | ||
children: React.Node, | ||
children: string, | ||
className?: string, | ||
@@ -86,0 +86,0 @@ linkify?: boolean |
Sorry, the diff of this file is not supported yet
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
12105
278