UNPKG

@actinc/dls

Version:

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

23 lines 728 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. * * @prettier */ import { FC, ReactElement } from 'react'; export interface SessionTimerProps { children?: ({ remainingTimeStageOne, remainingTimeStageTwo, }: { remainingTimeStageOne: number; remainingTimeStageTwo: number; }) => ReactElement<unknown> | null; expiresAt: Date; onExpire: () => void; onKeepAlive: () => void; promptWithMsRemaining: number; tokenMaxAgeMs: number; } export declare const SessionTimer: FC<SessionTimerProps>; export default SessionTimer; //# sourceMappingURL=index.d.ts.map