Update input components
This commit is contained in:
@@ -3,15 +3,13 @@ import { ListboxOption } from "@headlessui/react";
|
||||
import clsx from "clsx";
|
||||
|
||||
|
||||
export default function OptionInput(props: OptionInputProps){
|
||||
const {
|
||||
id,
|
||||
className,
|
||||
value,
|
||||
children
|
||||
} = props;
|
||||
|
||||
|
||||
export default function OptionInput({
|
||||
id,
|
||||
className,
|
||||
value,
|
||||
disabled,
|
||||
children
|
||||
}: Readonly<OptionInputProps>){
|
||||
return (
|
||||
<ListboxOption
|
||||
id={id}
|
||||
@@ -20,6 +18,7 @@ export default function OptionInput(props: OptionInputProps){
|
||||
className
|
||||
)}
|
||||
value={value}
|
||||
disabled={disabled}
|
||||
>
|
||||
{children}
|
||||
</ListboxOption>
|
||||
|
||||
Reference in New Issue
Block a user