UNPKG

630 BTypeScriptView Raw
1import React from 'react';
2export declare type TimelineInOutContextValue = {
3 inFrame: number | null;
4 outFrame: number | null;
5};
6export declare type SetTimelineInOutContextValue = {
7 setInAndOutFrames: (u: React.SetStateAction<TimelineInOutContextValue>) => void;
8};
9export declare const TimelineInOutContext: React.Context<TimelineInOutContextValue>;
10export declare const SetTimelineInOutContext: React.Context<SetTimelineInOutContextValue>;
11export declare const useTimelineInOutFramePosition: () => TimelineInOutContextValue;
12export declare const useTimelineSetInOutFramePosition: () => SetTimelineInOutContextValue;