UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

34 lines (33 loc) 908 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; className?: string; } declare const ConditionPreview: { ({ previewType, group, colorIndex, className, }: ConditionPreviewProps): React.JSX.Element; propTypes: { className: any; /** * 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;