@carbon/ibm-products
Version:
Carbon for IBM Products
34 lines (33 loc) • 954 B
TypeScript
/**
* Copyright IBM Corp. 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import { Condition, PropertyConfigOption } from '../../ConditionBuilder.types';
interface ItemOptionForValueFieldProps {
conditionState: Condition & {
label?: string;
};
config: PropertyConfigOption['config'];
onChange: (value: any, e?: Event) => void;
}
export declare const ItemOptionForValueField: {
({ conditionState, config, onChange, }: ItemOptionForValueFieldProps): React.JSX.Element;
propTypes: {
/**
* current condition object
*/
conditionState: any;
/**
* current config object that this property is part of
*/
config: any;
/**
* callback to update state oin date change
*/
onChange: any;
};
};
export {};