UNPKG

react-native-qrcode-mask

Version:
56 lines (55 loc) 1.67 kB
/** * Created by nghinv on Thu Jul 15 2021 * Copyright (c) 2021 nghinv@lumi.biz */ import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; interface QrCodeMaskProps { width?: number; height?: number; overlayOpacity?: number; showLineAnimated?: boolean; lineThick?: number; lineSize?: number | string; lineBorderRadius?: number; lineColor?: string; lineAnimationDuration?: number; lineDirection?: 'vertical' | 'horizontal'; edgeWidth?: number; edgeHeight?: number; edgeColor?: string; edgeBorderWidth?: number; topTitle?: string; topTitleColor?: string; topTitleStyle?: TextStyle; viewTopTitleStyle?: StyleProp<ViewStyle>; renderTop?: () => React.ReactNode; bottomTitle?: string; bottomTitleColor?: string; bottomTitleStyle?: TextStyle; viewBottomTitleStyle?: StyleProp<ViewStyle>; renderBottom?: () => React.ReactNode; renderFrame?: () => React.ReactNode; } declare function QrCodeMask(props: QrCodeMaskProps): JSX.Element; declare namespace QrCodeMask { var defaultProps: { width: number; height: number; edgeWidth: number; edgeHeight: number; edgeBorderWidth: number; edgeColor: string; showLineAnimated: boolean; lineThick: number; lineBorderRadius: number; lineSize: string; lineColor: string; lineAnimationDuration: number; lineDirection: string; topTitleColor: string; bottomTitleColor: string; }; } declare const _default: React.MemoExoticComponent<typeof QrCodeMask>; export default _default;