mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:43:25 +00:00
start with movie-web page
This commit is contained in:
21
apps/expo/src/components/ui/Card.tsx
Normal file
21
apps/expo/src/components/ui/Card.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Card, styled, withStaticProperties } from "tamagui";
|
||||
|
||||
export const MWCardFrame = styled(Card, {
|
||||
backgroundColor: "$shade400",
|
||||
borderColor: "$shade400",
|
||||
|
||||
variants: {
|
||||
bordered: {
|
||||
true: {
|
||||
borderWidth: 1,
|
||||
borderColor: "$shade500",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const MWCard = withStaticProperties(MWCardFrame, {
|
||||
Header: Card.Header,
|
||||
Footer: Card.Footer,
|
||||
Background: Card.Background,
|
||||
});
|
Reference in New Issue
Block a user