Commit 5021ee8c by G

display a an elevated variant of the Card component

parent 43d8152f
import theme from "@/themes/Theme"; import theme from "@/themes/Theme";
import Card from "@components/Card";
import Text from "@components/bases/Text"; import Text from "@components/bases/Text";
import { ThemeProvider } from "@shopify/restyle"; import { ThemeProvider } from "@shopify/restyle";
import { StatusBar } from "expo-status-bar"; import { StatusBar } from "expo-status-bar";
...@@ -10,6 +11,7 @@ export default function App() { ...@@ -10,6 +11,7 @@ export default function App() {
<View style={styles.container}> <View style={styles.container}>
<StatusBar style="auto" /> <StatusBar style="auto" />
<Text color="cardPrimaryBackground">Restyle Text</Text> <Text color="cardPrimaryBackground">Restyle Text</Text>
<Card variant={"elevated"} width={200} height={200} />
</View> </View>
</ThemeProvider> </ThemeProvider>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment