Skip to content

Commit d051696

Browse files
committed
ts cleanup
1 parent 16a1f4b commit d051696

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

index.d.ts

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Type definitions for react-native-svg-uri 1.1.2
2-
// Project: https://github.com/matc4/react-native-svg-uri
3-
// Definitions by: Kyle Roach <https://github.com/iRoachie>
4-
// TypeScript Version: 2.2.2
1+
// Type definitions for react-native-really-awesome-button
2+
// Project: https://github.com/rcaferati/react-native-really-awesome-button
3+
// Definitions by: Rafael Caferati <https://github.com/rcaferati>
4+
// TypeScript Version: 3.0.0
55

66
declare module "react-native-really-awesome-button" {
77
import React, { Component } from "react";
@@ -28,17 +28,17 @@ declare module "react-native-really-awesome-button" {
2828
disabled?: boolean;
2929
height?: number;
3030
paddingHorizontal?: number;
31-
progress: boolean;
32-
paddingBottom: number;
33-
raiseLevel: number;
34-
springRelease: boolean;
35-
stretch: boolean;
36-
style: ViewStyle;
37-
textColor: string;
38-
textLineHeight: number;
39-
textSize: number;
40-
textFamily: string;
41-
width: number;
31+
progress?: boolean;
32+
paddingBottom?: number;
33+
raiseLevel?: number;
34+
springRelease?: boolean;
35+
stretch?: boolean;
36+
style?: ViewStyle;
37+
textColor?: string;
38+
textLineHeight?: number;
39+
textSize?: number;
40+
textFamily?: string;
41+
width?: number;
4242
onPress?(): void;
4343
}
4444

@@ -47,5 +47,3 @@ declare module "react-native-really-awesome-button" {
4747
{}
4848
> {}
4949
}
50-
51-
// export class AwesomeButton extends React.Component<AwesomeButtonProps, any> {}

0 commit comments

Comments
 (0)