UNPKG

flemo

Version:

A modern React router library with built-in motion animations and smooth transitions

15 lines (14 loc) 713 B
import { PropsWithChildren, ReactNode } from 'react'; import { HTMLMotionProps } from 'motion/react'; export interface ScreenProps extends PropsWithChildren<Omit<HTMLMotionProps<"div">, "initial" | "drag" | "dragControls" | "dragListener" | "onDragStart" | "onDrag" | "onDragEnd" | "onPointerDown" | "onPointerMove" | "onPointerUp">> { statusBarHeight?: string; statusBarColor?: string; systemNavigationBarHeight?: string; systemNavigationBarColor?: string; appBar?: ReactNode; navigationBar?: ReactNode; hideStatusBar?: boolean; hideSystemNavigationBar?: boolean; } declare function Screen({ children, ...props }: ScreenProps): import("react").JSX.Element; export default Screen;