react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
35 lines (34 loc) • 1.04 kB
TypeScript
/// <reference types="react" />
import { ViewStyle } from 'react-native';
declare type HighlightFrameType = {
x: number;
y: number;
width: number;
height: number;
};
declare type HighlightViewTagParams = {
padding: number | ViewStyle['padding'];
offset: Pick<HighlightFrameType, 'x' | 'y'>;
};
export declare type HighlighterOverlayViewProps = {
visible: boolean;
overlayColor?: string;
borderRadius?: number;
strokeColor?: string;
strokeWidth?: number;
onRequestClose?: () => void;
highlightFrame?: HighlightFrameType;
style?: ViewStyle;
highlightViewTag?: number | null;
children?: JSX.Element[] | JSX.Element;
highlightViewTagParams?: HighlightViewTagParams;
minimumRectSize?: Pick<HighlightFrameType, 'width' | 'height'>;
innerPadding?: number;
accessible?: boolean;
testID?: string;
};
declare const HighlighterOverlayView: {
(props: HighlighterOverlayViewProps): JSX.Element;
displayName: string;
};
export default HighlighterOverlayView;