@carbon/ibm-products
Version:
Carbon for IBM Products
36 lines • 1.13 kB
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 PropTypes from 'prop-types';
import { PropertyConfigTime } from '../../ConditionBuilder.types';
interface ConditionBuilderItemTime {
onChange: (value: string | undefined) => void;
config: PropertyConfigTime['config'];
conditionState: {
label?: string;
value?: string;
};
}
export declare const ConditionBuilderItemTime: {
({ onChange, config, conditionState, }: ConditionBuilderItemTime): React.JSX.Element;
propTypes: {
/**
* current condition object
*/
conditionState: PropTypes.Requireable<object>;
/**
* current config object that this property is part of
*/
config: PropTypes.Requireable<object>;
/**
* callback to update state oin date change
*/
onChange: PropTypes.Requireable<(...args: any[]) => any>;
};
};
export {};
//# sourceMappingURL=ConditionBuilderItemTime.d.ts.map