UNPKG

rn-pixel-perfect

Version:

A simple tool for pixel-perfect layouts, allowing you to compare design screens with your app's implementation.

24 lines 599 B
type SetImage = { type: 'setImage'; image: string; }; type ChangeOpacity = { type: 'changeOpacity'; value: number; }; type SetHidden = { type: 'setHidden'; value: boolean; }; type SetScroll = { type: 'setScroll'; value: boolean; }; type ServerMessages = SetImage | ChangeOpacity | SetHidden | SetScroll; export declare const validateMessage: (data: any) => ServerMessages | null; export declare const Overlay: ({ host, port }: { host?: string; port?: number; }) => import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=index.d.ts.map