diff --git a/README.md b/README.md index 1ef1a2f..cfe5025 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ const styles: Record = { }; export default function CSVReader() { - const { CSVReader } = useCSVReader(); + const { CSVReader } = useCSVReader(); return ( = { }; export default function CSVReader() { - const { CSVReader } = useCSVReader(); + const { CSVReader } = useCSVReader(); return ( = { }; export default function CSVReader() { - const { CSVReader } = useCSVReader(); + const { CSVReader } = useCSVReader(); return ( (); + * const { CSVReader } = useCSVReader(); * ``` * * @see {@link https://react-papaparse.js.org/docs#local-files Usage with Local Files} diff --git a/test/CustomReader.tsx b/test/CustomReader.tsx index efd0ecb..fa99ce7 100644 --- a/test/CustomReader.tsx +++ b/test/CustomReader.tsx @@ -9,7 +9,7 @@ interface CustomReaderProps { const CustomReader: React.FC = ( props: CustomReaderProps ) => { - const { CSVReader } = useCSVReader(); + const { CSVReader } = useCSVReader(); const { onUploadAccepted, label } = props; return (