mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
18 lines
352 B
TypeScript
18 lines
352 B
TypeScript
import {
|
|
ActivityIndicator,
|
|
type ActivityIndicatorProps,
|
|
Platform,
|
|
} 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}
|
|
/>
|
|
);
|
|
};
|