UNPKG

react-chrono

Version:
26 lines 868 B
import { default as React } from 'react'; import { FullscreenControlProps } from './fullscreen-control.model'; /** * FullscreenControl Component * * A high-level component that combines the fullscreen hook with the fullscreen button * to provide complete fullscreen functionality for any target element. * * @component * @example * ```tsx * const timelineRef = useRef<HTMLDivElement>(null); * * <FullscreenControl * targetRef={timelineRef} * theme={theme} * onEnterFullscreen={() => console.log('Entered fullscreen')} * onExitFullscreen={() => console.log('Exited fullscreen')} * size="medium" * /> * ``` */ declare const FullscreenControl: React.NamedExoticComponent<FullscreenControlProps & React.RefAttributes<HTMLButtonElement>>; export { FullscreenControl }; export type { FullscreenControlProps }; //# sourceMappingURL=index.d.ts.map