@carbon/ibm-products
Version:
Carbon for IBM Products
32 lines (31 loc) • 921 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, PropertyConfigNumber } from '../../ConditionBuilder.types';
interface ConditionBuilderItemNumberProps {
conditionState: Condition;
config: PropertyConfigNumber['config'];
onChange: (value: string) => void;
}
export declare const ConditionBuilderItemNumber: {
({ conditionState, config, onChange, }: ConditionBuilderItemNumberProps): 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 {};