Skip to content

Commit b834d5c

Browse files
committed
refactor: File strucure
1 parent 07b7b7d commit b834d5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ReactCarousel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { createRef, useEffect, useState } from "react";
22
import Item from "./Item.jsx";
33
import style from "./style";
44

5-
export const ReactCarousel = ({
5+
export default ({
66
value = 0,
77
setValue,
88
children,

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import ReactCarousel from "./ReactCarousel";
1+
import ReactCarousel from "./ReactCarousel.jsx";
22

33
export default ReactCarousel;

0 commit comments

Comments
 (0)