🔧 chore: 1 classname per object

This commit is contained in:
Andre H 2024-02-21 17:10:45 +07:00
parent 195d957251
commit 448d0ceb7c

View File

@ -57,17 +57,17 @@ export const inputTheme = tv(
size: { size: {
md: { md: {
container: 'h-11', container: 'h-11',
input: 'text-sm pl-4 pr-4', input: ['text-sm pl-4 pr-4'],
icon: 'h-[18px] w-[18px]', icon: ['h-[18px] w-[18px]'],
helperText: 'text-sm', helperText: 'text-sm',
helperIcon: 'h-5 w-5', helperIcon: ['h-5 w-5'],
}, },
sm: { sm: {
container: 'h-8', container: 'h-8',
input: 'text-xs pl-3 pr-3', input: ['text-xs pl-3 pr-3'],
icon: 'h-4 w-4', icon: ['h-4 w-4'],
helperText: 'text-xs', helperText: 'text-xs',
helperIcon: 'h-4 w-4', helperIcon: ['h-4 w-4'],
}, },
}, },
}, },