@felvin-community/csv-to-json
Advanced tools
Comparing version 1.56.0 to 1.61.0
{ | ||
"name": "@felvin-community/csv-to-json", | ||
"version": "1.56.0", | ||
"version": "1.61.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js", |
@@ -104,3 +104,4 @@ import { Breakpoints, matchTriggerQueries } from "@felvin-search/core"; | ||
function Component() { | ||
const [csvData, setCSVData] = useState(); | ||
const defaultData = "FirstName,LastName\nJohn,Doe" | ||
const [csvData, setCSVData] = useState(defaultData); | ||
const [copy, setCopy] = useState(false); | ||
@@ -134,3 +135,3 @@ const [jsonData, setJSONData] = useState(); | ||
id="csv-textarea" | ||
placeholder="Paste CSV here" | ||
defaultValue={defaultData} | ||
onChange={(e) => setCSVData(e.target.value)} | ||
@@ -137,0 +138,0 @@ /> |
Sorry, the diff of this file is too big to display
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
263289
139