UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

31 lines (30 loc) 861 B
/** * 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'; interface ConditionConnectorProps { operator: string; className: string; onChange?: (op: string) => void; } declare const ConditionConnector: { ({ operator, className, onChange, ...rest }: ConditionConnectorProps): React.JSX.Element; propTypes: { /** * Provide an optional class to be applied to the containing node. */ className: any; /** * callback to update the current condition of the state tree */ onChange: any; /** * string that defines the connector operator (and/or) */ operator: any; }; }; export default ConditionConnector;