fix: correct text
This commit is contained in:
parent
12c21b0185
commit
5a231ae941
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import { DropDownComponentType } from "../../types/components";
|
||||||
import { classNames } from "../../utils";
|
import { classNames } from "../../utils";
|
||||||
|
|
||||||
export default function Dropdown({value, options, onSelect}:DropDownComponentType) {
|
export default function Dropdown({value, options, onSelect}:DropDownComponentType) {
|
||||||
let [internalValue,setInternalValue] = useState(value??"choose an option")
|
let [internalValue,setInternalValue] = useState(value??"Choose an option")
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Listbox value={internalValue} onChange={(value)=>{
|
<Listbox value={internalValue} onChange={(value)=>{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue