diff --git a/cases/change-variants/Tamagui.tsx b/cases/change-variants/Tamagui.tsx index 1e53f8a..429eca6 100644 --- a/cases/change-variants/Tamagui.tsx +++ b/cases/change-variants/Tamagui.tsx @@ -1,9 +1,9 @@ -import { styled } from "tamagui"; -import React, { useMemo } from "react"; -import { View, Text } from "react-native"; +import { styled, Stack } from "tamagui"; +import React from "react"; +// import { Text } from "react-native"; import { COUNT } from "../../utils"; -const Box = styled(View, { +const Box = styled(Stack, { bc: "$yellow5Light", p: "$2", m: "$1", diff --git a/cases/simple-component/Tamagui.tsx b/cases/simple-component/Tamagui.tsx index 4425c51..301a85e 100644 --- a/cases/simple-component/Tamagui.tsx +++ b/cases/simple-component/Tamagui.tsx @@ -1,9 +1,9 @@ -import { styled } from "tamagui"; +import { Stack, styled} from "tamagui"; import React from "react"; -import { View } from "react-native"; +// import { View } from "react-native"; import { COUNT } from "../../utils"; -const Box = styled(View, { +const Box = styled(Stack, { bc: "$yellow5Light", p: "$2", m: "$1",