Skip to content

Commit 2c69d31

Browse files
authored
Added skin types to index.d.ts
This allows for code completion of the different options of the prop in IDEs to provide greater ease-of-use than just setting the type of skin to string.
1 parent 5831d8d commit 2c69d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {StyleProp, ViewStyle} from "react-native";
33

44
export interface ReactNativeInputSpinnerProps {
55
type?: string;
6-
skin?: string;
6+
skin?: "clean" | "modern" | "paper" | "round" | "square";
77
min?: string | number;
88
max?: string | number;
99
value?: string | number;

0 commit comments

Comments
 (0)