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.
- package/README.md +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
|
|
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
|
|
72
|
+
accordionData={accordionData}
|
|
73
73
|
/>
|
|
74
74
|
);
|
|
75
75
|
}
|