import { Button, Theme, YStack, styled } from 'tamagui'
const StyledButton = styled(Button, {
scale: 'press:0.5',
variants: {
reddish: {
true: {
backgroundColor: 'press:red',
},
},
bigGreen: {
true: {
backgroundColor: 'press:green',
scale: 'press:1.2',
},
},
} as const,
})
const DoubleStyledButtonNoVariants = styled(StyledButton, {})
const StyledButtonVariantTheme = styled(Button, {
scale: 'press:0.5',
variants: {
testVariant: {
true: {
backgroundColor: 'background',
},
},
} as const,
})
export const StyledButtonVariantPseudoMerge = () => (
<>
test
animated
variant-merge
variant-merge-red
variant-merge-green
variant-merge-green-red
double-styled
variant-theme
>
)