@carbon/ibm-products
Version:
Carbon for IBM Products
32 lines (31 loc) • 957 B
TypeScript
/**
* Copyright IBM Corp. 2023, 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, { ReactNode } from 'react';
export interface GuidebannerElementProps {
/**
* An optional button can be rendered below the description.
* This can be a link, button, Coachmark button, etc.
*/
button?: ReactNode;
/**
* Provide an optional class to be applied to the containing node.
*/
className?: string;
/**
* The description of the element.
*/
description: ReactNode;
/**
* The title of the element.
*/
title?: string;
}
/**
* The GuidebannerElement is a required child component of the Guidebanner,
* and acts as a container for a CarouselItem.
*/
export declare let GuidebannerElement: React.ForwardRefExoticComponent<GuidebannerElementProps & React.RefAttributes<HTMLDivElement>>;