DeFiCh/wallet

View on GitHub
mobile-app/app/components/themed/ThemedActivityIndicatorV2.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { getColor } from "@tailwind";

import { ActivityIndicator, ActivityIndicatorProps } from "react-native";
import { ThemedProps } from "./index";

type ThemedTextProps = ActivityIndicatorProps & ThemedProps;

export function ThemedActivityIndicatorV2(props: ThemedTextProps): JSX.Element {
  const { style, ...otherProps } = props;
  return (
    <ActivityIndicator
      color={getColor("brand-v2-500")}
      style={style}
      {...otherProps}
    />
  );
}