UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

32 lines (31 loc) 866 B
/** * 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 from 'react'; interface CoachmarkHeaderProps { /** * Tooltip text and aria label for the Close button icon. */ closeIconDescription?: string; /** * Function to call when the close button is clicked. */ onClose?: () => void; /** * Show/hide the "X" close button. */ showCloseButton?: boolean; /** * Determines the theme of the component. */ theme?: 'light' | 'dark'; } /** * DO NOT USE. This component is for the exclusive use * of other Onboarding components. */ export declare let CoachmarkHeader: React.ForwardRefExoticComponent<CoachmarkHeaderProps & React.RefAttributes<HTMLElement>>; export {};