import * as React from "react"
import { Radio } from "@mantine/core"
interface RadioGroupProps {
value?: string
defaultValue?: string
onValueChange?: (value: string) => void
disabled?: boolean
orientation?: "horizontal" | "vertical"
className?: string
children?: React.ReactNode
}
function RadioGroup({ className, value, defaultValue, onValueChange, orientation, children, ...props }: RadioGroupProps) {
return (
onValueChange?.(val)}
className={className}
{...props}
>
{children}
)
}
interface RadioGroupItemProps {
value: string
label?: string
disabled?: boolean
className?: string
labelClassName?: string
id?: string
}
function RadioGroupItem({ className, label, id, disabled, value, ...props }: RadioGroupItemProps) {
return (
)
}
export { RadioGroup, RadioGroupItem }
export type { RadioGroupItemProps }