forked from nating/react-native-custom-qr-codes
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.d.ts
32 lines (31 loc) · 804 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { ColorValue, ImageProps } from "react-native";
export function QRCode({
content,
size,
padding,
color,
gradientDirection,
backgroundColor,
codeStyle,
outerEyeStyle,
innerEyeStyle,
logoSize,
ecl,
}: {
content?: string;
size?: number;
padding?: number;
color?: string;
linearGradient?: Array<ColorValue>;
gradientDirection?: Array<number>;
backgroundColor?: string;
innerEyeStyle?: "circle" | "circles" | "diamond" | "rounded" | "square";
outerEyeStyle?: "circle" | "circles" | "diamond" | "rounded" | "square";
codeStyle?: "circle" | "diamond" | "dot" | "ninja" | "sharp" | "square";
logo?: ImageProps["source"] | string;
backgroundImage?: ImageProps["source"];
logoSize?: number;
ecl?: "L" | "M" | "Q" | "H";
svg?: any;
isRTL?: boolean;
});