start with movie-web page

This commit is contained in:
Jorrin
2024-04-15 19:34:42 +02:00
parent 0622e4338c
commit 07d313b1fd
6 changed files with 224 additions and 21 deletions

View 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,
});