UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

64 lines (63 loc) 1.68 kB
/** * 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 '../../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<CreateInfluencerProps>): React.JSX.Element; displayName: string; propTypes: { /** * Provide an optional class to be applied to the containing node. */ className: any; /** * Used to mark the current step on the ProgressIndicator component */ currentStep: any; /** * onChange event for Progress Indicator */ onClickStep: any; /** * The step data that renders the progress items */ stepData: any; /** * The main title of the full page, displayed in the influencer area. */ title: any; }; }; export {};