UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

21 lines 683 B
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { FC, ReactElement } from 'react'; export interface IdleTimerProps { children?: ({ remainingTimeMs, reset, }: { remainingTimeMs: number; reset: () => void; }) => ReactElement<unknown> | null; onAction?: (event?: any) => void; onActive?: (event?: any) => void; onIdle?: (event?: any) => void; stopOnIdle?: boolean; timeoutMs: number; } export declare const IdleTimer: FC<IdleTimerProps>; export default IdleTimer; //# sourceMappingURL=index.d.ts.map