import { Input } from '@tamagui/input' import { useState } from 'react' import { styled, Button, YStack } from 'tamagui' const StyledInput = styled(Input, { borderColor: 'blue-400', borderWidth: 2, }) export function InputAutoFocusStyledCase() { const [view, setView] = useState<'plain' | 'styled' | null>(null) return ( {view === null && ( <> )} {view === 'plain' && ( )} {view === 'styled' && ( )} ) }