/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import { ComboBox } from '@fluentui/react' import { memo } from 'react' import { dropdownStyles } from '../../styles.js' import { useOptions } from './ColumnOrValueComboBox.hooks.js' import type { ColumnOrValueComboBoxProps } from './ColumnOrValueComboBox.types.js' /** * ComboBox that allows the user to either input a freeform value or select a column. * We frequently have operations where a comparison may be to a fixed value, or should * be dependent on per-row column values. */ export const ColumnOrValueComboBox: React.FC = memo( function ColumnOrValueComboBox({ options, ...props }) { const withHeader = useOptions(options) return ( ) }, )