mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
downloads refactor
This commit is contained in:
14
apps/expo/src/components/ui/Progress.tsx
Normal file
14
apps/expo/src/components/ui/Progress.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Progress, styled, withStaticProperties } from "tamagui";
|
||||
|
||||
const MWProgressFrame = styled(Progress, {
|
||||
backgroundColor: "$progressBackground",
|
||||
});
|
||||
|
||||
const MWProgressIndicator = styled(Progress.Indicator, {
|
||||
backgroundColor: "$progressFilled",
|
||||
animation: "bounce",
|
||||
});
|
||||
|
||||
export const MWProgress = withStaticProperties(MWProgressFrame, {
|
||||
Indicator: MWProgressIndicator,
|
||||
});
|
Reference in New Issue
Block a user