import * as React from 'react'; import { useFieldControlProps_unstable } from '@fluentui/react-field'; import { getPartitionedNativeProps, useEventCallback, slot } from '@fluentui/react-utilities'; import { ChevronDownRegular } from '@fluentui/react-icons'; import { useOverrides_unstable as useOverrides } from '@fluentui/react-shared-contexts'; /** * Create the state required to render Select. * * The returned state can be modified with hooks such as useSelectStyles, * before being passed to renderSelect. * * @param props - props from this instance of Select * @param ref - reference to the `