Skip to content

Commit 9d21067

Browse files
committed
Added GalleryComponent interface and navigation buttons
1 parent 4fb6756 commit 9d21067

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

src/GalleryComponent.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Gallery } from './Gallery';
2+
3+
interface GalleryComponent {
4+
init(gallery: Gallery): void;
5+
};
6+
7+
export {
8+
GalleryComponent
9+
}

src/NavigationButtons.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { Gallery } from './Gallery';
2+
import { GalleryComponent } from './GalleryComponent';
3+
4+

src/index.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import { Gallery } from './Gallery';
2+
import { GalleryComponent } from './GalleryComponent';
3+
4+
export default Gallery;
25

36
export {
4-
Gallery
7+
Gallery,
8+
GalleryComponent
9+
//TODO Thumbnail
10+
//
511
};

0 commit comments

Comments
 (0)