react-image-accordion 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@ npm i react-image-accordion
21
21
  To use the component in your React application, import it and pass the necessary props:
22
22
 
23
23
  ```jsx
24
- import ImageAccordion from 'react-image-accordion';
24
+ import ReactImageAccordion from 'react-image-accordion';
25
25
 
26
26
  function MyComponent() {
27
27
  const accordionData = [
@@ -69,7 +69,7 @@ function MyComponent() {
69
69
 
70
70
  return (
71
71
  <ReactImageAccordion
72
- accordionData: {accordionData}
72
+ accordionData={accordionData}
73
73
  />
74
74
  );
75
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-image-accordion",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Accordion component for React",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",