r-scale-screen
Version:
react 大屏自适应组件
19 lines (18 loc) • 482 B
TypeScript
import { type CSSProperties, type ReactNode } from 'react';
type IAutoScale = boolean | {
x?: boolean;
y?: boolean;
};
interface Options {
children?: ReactNode;
autoScale?: IAutoScale;
fullScreen?: boolean;
width: number | string;
height: number | string;
bodyOverflowHidden?: boolean;
delay?: number;
boxStyle?: CSSProperties;
wrapperStyle?: CSSProperties;
}
export default function RScaleScreen(props: Options): JSX.Element;
export {};