/** * Copyright IBM Corp. 2024, 2026 * * 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 { FC, ForwardRefExoticComponent, ReactElement, ReactNode, RefAttributes } from 'react'; import { CoachmarkContentHeaderProps } from './CoachmarkContentHeader'; import { CoachmarkContentBodyProps } from './CoachmarkContentBody'; export interface CoachmarkContentProps { /** * Accessible label for the coachmark content region. */ 'aria-label'?: string; /** * This is a required callback that has to return the content to render in the body section. * It can be a single child or an array of children depending on your need */ children: ReactElement | ReactNode; /** * Provide an optional class to be applied to the containing node. */ className?: string; } export type CoachmarkContentComponent = ForwardRefExoticComponent> & { Header: FC; Body: FC; }; declare const CoachmarkContent: CoachmarkContentComponent; export default CoachmarkContent;