@carbon/ibm-products
Version:
Carbon for IBM Products
31 lines (30 loc) • 942 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 GuidebannerElementButtonProps {
/**
* Provide the contents of the GuidebannerElementLink.
*/
children: ReactNode;
/**
* Provide an optional class to be applied to the containing node.
*/
className?: string;
/**
* Provide a description for the icon.
*/
iconDescription?: string;
/**
* If type is "primary", then return a tertiary button with the "crossroads" icon,
* else return a ghost button.
*/
type?: string;
}
/**
* One of two buttons styled specifically for the GuidebannerElement.
*/
export declare let GuidebannerElementButton: React.ForwardRefExoticComponent<GuidebannerElementButtonProps & React.RefAttributes<any>>;