/** * Copyright IBM Corp. 2021, 2022 * * 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, { PropsWithChildren, ReactNode } from 'react'; import PropTypes from 'prop-types'; import '../../global/js/utils/props-helper'; interface Step { introStep?: boolean; secondaryLabel?: string; shouldIncludeStep?: boolean; title?: ReactNode; } interface CreateInfluencerProps { /** * Provide an optional class to be applied to the containing node. */ className?: string; /** * Provide the current step number. */ currentStep: number; /** * onChange event for Progress Indicator */ onClickStep?: (step: number) => void; /** * Provide the Set Data. */ stepData: Step[]; /** * Title. */ title?: string | undefined; } export declare const CreateInfluencer: { ({ className, currentStep, onClickStep, stepData, title, }: PropsWithChildren): React.JSX.Element; displayName: string; propTypes: { /** * Provide an optional class to be applied to the containing node. */ className: PropTypes.Requireable; /** * Used to mark the current step on the ProgressIndicator component */ currentStep: PropTypes.Validator; /** * onChange event for Progress Indicator */ onClickStep: PropTypes.Requireable<(...args: any[]) => any>; /** * The step data that renders the progress items */ stepData: PropTypes.Requireable<(PropTypes.InferProps<{ introStep: PropTypes.Requireable; secondaryLabel: PropTypes.Requireable; shouldIncludeStep: PropTypes.Requireable; title: PropTypes.Requireable; }> | null | undefined)[]>; /** * The main title of the full page, displayed in the influencer area. */ title: PropTypes.Requireable; }; }; export {}; //# sourceMappingURL=CreateInfluencer.d.ts.map