@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
15 lines (14 loc) • 427 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { forwardRef, memo } from "react";
import { ActivityIndicator } from "react-native";
import { useTheme } from "@crossed/styled";
const Spinner = memo(
forwardRef((props, ref) => {
const { colors } = useTheme();
return /* @__PURE__ */ jsx(ActivityIndicator, { color: colors.text.brand, ...props, ref });
})
);
export {
Spinner
};
//# sourceMappingURL=Spinner.js.map