UNPKG

@carbon/ibm-products

Version:
31 lines 1.08 kB
/** * 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 { Action, Option } from '../ConditionBuilder.types'; interface ConditionBuilderActionsProps { actions: Action[] | Option[]; className?: string; } declare const ConditionBuilderActions: { ({ actions, className, }: ConditionBuilderActionsProps): React.JSX.Element; propTypes: { /** * optional array of object that give the list of actions. */ actions: PropTypes.Requireable<PropTypes.InferProps<{ id: PropTypes.Validator<NonNullable<NonNullable<string | number>>>; label: PropTypes.Validator<string>; }>[]>; /** * Provide an optional class to be applied to the containing node. */ className: PropTypes.Requireable<string>; }; }; export default ConditionBuilderActions; //# sourceMappingURL=ConditionBuilderActions.d.ts.map