mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 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:
parent
fa80464f7d
commit
a5338214ae
@ -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> {}
|
||||
|
||||
@ -15,5 +15,6 @@ import Spinner from "react-native-loading-spinner-overlay";
|
||||
textContent="text"
|
||||
textStyle={{ fontSize: 14 }}
|
||||
visible={true}
|
||||
customIndicator={<></>}
|
||||
/>;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user