import { createContext } from "react"; import { SelectState } from "react-stately"; import { FocusableElement, DOMAttributes } from "@react-types/shared"; import { createComponentContext } from "@utils/index"; import { SelectFieldProps } from "./SelectField.types"; export const SelectFieldContext = createComponentContext>(); export const SelectStateContext = createContext | null>(null); export const SelectFieldValueContext = createContext | null>(null);