Skip to content

Commit

Permalink
set parse result data type to string array default
Browse files Browse the repository at this point in the history
  • Loading branch information
berkinanik committed Feb 27, 2023
1 parent b25ac12 commit 234235f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/useCSVReader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export interface ProgressBarComponentProps {
}

function useCSVReaderComponent<
T = void,
E extends HTMLDivElement | HTMLButtonElement = HTMLDivElement,
T,
E extends HTMLDivElement | HTMLButtonElement,
>() {
const CSVReaderComponent = ({
children,
Expand Down Expand Up @@ -667,7 +667,7 @@ function useCSVReaderComponent<
* @see {@link https://react-papaparse.js.org/docs#local-files Usage with Local Files}
*/
export function useCSVReader<
T = void,
T = string,
E extends HTMLDivElement | HTMLButtonElement = HTMLDivElement,
>() {
const CSVReader = useCSVReaderComponent<T, E>();
Expand Down

0 comments on commit 234235f

Please sign in to comment.