@@ -71,7 +71,7 @@ export interface ProgressBarComponentProps {
7171
7272function useCSVReaderComponent <
7373 T = void ,
74- E extends HTMLDivElement | HTMLButtonElement = HTMLDivElement
74+ E extends HTMLDivElement | HTMLButtonElement = HTMLDivElement ,
7575> ( ) {
7676 const CSVReaderComponent = ( {
7777 children,
@@ -645,12 +645,12 @@ function useCSVReaderComponent<
645645/**
646646 * A React hook to use the CSVReader component.
647647 * @returns The CSVReader component.
648- *
649- * @template T - The type of the parsed CSV file data result, where each key
648+ *
649+ * @template T - The type of the parsed CSV file data result, where each key
650650 * represents a column in the CSV file and each value represents the data type.
651- * @template E - The type of the HTML element used for the input. Can be
651+ * @template E - The type of the HTML element used for the input. Can be
652652 * HTMLDivElement or HTMLButtonElement. Defaults to HTMLDivElement.
653- *
653+ *
654654 * @example HTMLDivElement as the input element
655655 * ```tsx
656656 * import { useCSVReader } from 'react-papaparse';
@@ -661,12 +661,12 @@ function useCSVReaderComponent<
661661 * import { useCSVReader } from 'react-papaparse';
662662 * const { CSVReader } = useCSVReader<void, HTMLButtonElement>();
663663 * ```
664- *
664+ *
665665 * @see {@link https://react-papaparse.js.org/docs#local-files Usage with Local Files }
666666 */
667667export function useCSVReader <
668668 T = void ,
669- E extends HTMLDivElement | HTMLButtonElement = HTMLDivElement
669+ E extends HTMLDivElement | HTMLButtonElement = HTMLDivElement ,
670670> ( ) {
671671 const CSVReader = useCSVReaderComponent < T , E > ( ) ;
672672
0 commit comments