source: imaps-frontend/node_modules/react-use/esm/useSlider.d.ts@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 461 bytes
RevLine 
[d565449]1import { CSSProperties, RefObject } from 'react';
2export interface State {
3 isSliding: boolean;
4 value: number;
5}
6export interface Options {
7 onScrub: (value: number) => void;
8 onScrubStart: () => void;
9 onScrubStop: (value: number) => void;
10 reverse: boolean;
11 styles: boolean | CSSProperties;
12 vertical?: boolean;
13}
14declare const useSlider: (ref: RefObject<HTMLElement>, options?: Partial<Options>) => State;
15export default useSlider;
Note: See TracBrowser for help on using the repository browser.