🤖 Merge PR #45485 [react-native-loading-spinner-overlay] Added missing customIndicator prop by @sarmad1995

* Update index.d.ts

Added `customIndicator` which was missing.

* Update react-native-loading-spinner-overlay-tests.tsx
This commit is contained in:
Sarmad 2020-06-17 21:46:06 +05:30 committed by GitHub
parent fa80464f7d
commit a5338214ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export interface SpinnerProps {
textContent?: string;
textStyle?: ReactNative.StyleProp<ReactNative.TextStyle>;
visible?: boolean;
customIndicator?: React.ReactElement;
}
export default class Spinner extends React.Component<SpinnerProps> {}

View File

@ -15,5 +15,6 @@ import Spinner from "react-native-loading-spinner-overlay";
textContent="text"
textStyle={{ fontSize: 14 }}
visible={true}
customIndicator={<></>}
/>;
};