Skip to content

Commit

Permalink
fix: fixed type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
irohitb committed Apr 12, 2021
1 parent 147efb6 commit 056c801
Show file tree
Hide file tree
Showing 5 changed files with 5,335 additions and 22,879 deletions.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export interface SpinnerPropTypes {
children?: React.ReactNode;
spinnerKey?: string;
}
declare const Spinner: ({ cancelable, color, animation, overlayColor, size, textContent, textStyle, visible, indicatorStyle, customIndicator, children, spinnerKey }: SpinnerPropTypes) => any;
declare const Spinner: ({ cancelable, color, animation, overlayColor, size, textContent, textStyle, visible, indicatorStyle, customIndicator, children, spinnerKey }: SpinnerPropTypes) => JSX.Element;
export default Spinner;
40 changes: 39 additions & 1 deletion lib/style.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
declare const styles: any;
declare const styles: {
activityIndicator: {
flex: number;
};
background: {
alignItems: "center";
bottom: number;
justifyContent: "center";
left: number;
position: "absolute";
right: number;
top: number;
};
container: {
backgroundColor: string;
bottom: number;
flex: number;
left: number;
position: "absolute";
right: number;
top: number;
};
textContainer: {
alignItems: "center";
bottom: number;
flex: number;
justifyContent: "center";
left: number;
position: "absolute";
right: number;
top: number;
};
textContent: {
fontSize: number;
fontWeight: "bold";
height: number;
top: number;
};
};
export default styles;
Loading

0 comments on commit 056c801

Please sign in to comment.