-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
const _Radio = styled.input<any>(
'grid b:1|solid|#000000 m:0 place-content:center r:50% appearance:none color:currentColor {content:"";r:50%;transform:scale(0);~transform|120ms;box-shadow:inset|1em|1em|primary}::before transform:scale(1):checked::before',
{
hidden: 'hidden',
},
{
$size: {
sm: 'size:14 size:10::before',
md: 'size:20 size:14::before',
lg: 'size:24 size:18::before',
}
}
)
export default function Radio({ $size = 'sm', ref, ...props }: InputHTMLAttributes<HTMLInputElement> & { $size?: 'sm' | 'md' | 'lg' } & { ref?: Ref<HTMLInputElement> }) {
return <_Radio type='radio' $size={$size} {...props} />
}
Reproduction
No response
System Informations
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working