UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

32 lines (31 loc) 849 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'; import { ConditionGroup } from '../ConditionBuilder.types'; interface ConditionPreviewProps { previewType: 'newGroup' | 'subGroup' | 'condition'; group: ConditionGroup; colorIndex?: number; } declare const ConditionPreview: { ({ previewType, group, colorIndex, }: ConditionPreviewProps): React.JSX.Element; propTypes: { /** * index of the color for next group */ colorIndex: any; /** * current conditional group */ group: any; /** * type of review to be displayed */ previewType: any; }; }; export default ConditionPreview;