forked from Ninjalama/streamyfin_mirror
19 lines
355 B
TypeScript
19 lines
355 B
TypeScript
import {
|
|
ActivityIndicator,
|
|
ActivityIndicatorProps,
|
|
Platform,
|
|
View,
|
|
} from "react-native";
|
|
|
|
interface Props extends ActivityIndicatorProps {}
|
|
|
|
export const Loader: React.FC<Props> = ({ ...props }) => {
|
|
return (
|
|
<ActivityIndicator
|
|
size={"small"}
|
|
color={Platform.OS === "ios" ? "white" : "#9333ea"}
|
|
{...props}
|
|
/>
|
|
);
|
|
};
|