UNPKG

lapras

Version:

A React library to create guided walkthroughs and tours

20 lines (19 loc) 532 B
import * as React from 'react'; import { TourItemObj, ACTION } from './types'; interface TourState { } interface TourOptionalProps { } interface TourProps extends TourOptionalProps { run: boolean; steps?: TourItemObj[]; onUpdate?(params: ACTION): void; } declare class TourManager extends React.Component<TourProps, TourState> { state: {}; constructor(props: TourProps); componentWillUnmount(): void; onUpdate: (updateObj: ACTION) => void; render(): JSX.Element | null; } export default TourManager;