main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
328 bytes
|
Rev | Line | |
---|
[d565449] | 1 | export interface UseStateListReturn<T> {
|
---|
| 2 | state: T;
|
---|
| 3 | currentIndex: number;
|
---|
| 4 | setStateAt: (newIndex: number) => void;
|
---|
| 5 | setState: (state: T) => void;
|
---|
| 6 | next: () => void;
|
---|
| 7 | prev: () => void;
|
---|
| 8 | isFirst: boolean;
|
---|
| 9 | isLast: boolean;
|
---|
| 10 | }
|
---|
| 11 | export default function useStateList<T>(stateSet?: T[]): UseStateListReturn<T>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.