@carbon/ibm-products
Version:
Carbon for IBM Products
55 lines • 1.69 kB
TypeScript
/**
* Copyright IBM Corp. 2025
*
* 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 { MenuButtonProps } from '@carbon/react';
import React, { ReactNode } from 'react';
/**
* ----------------
* TearsheetHeaderActions
* ----------------
*/
type EnhancedChild = React.ReactElement<{
id: string;
menuItemLabel: string;
}>;
export interface TearsheetHeaderActionsProps {
/**
* Provide child elements to be rendered inside TearsheetHeaderActions.
*/
children: EnhancedChild[];
/**
* Specify an optional className to be added to your TearsheetHeaderActions
*/
className?: string;
/**
* The PageHeaderContent's page actions collapsible Menu button label
*/
menuButtonProps?: MenuButtonProps;
}
export declare const TearsheetHeaderActions: React.ForwardRefExoticComponent<TearsheetHeaderActionsProps & React.RefAttributes<HTMLDivElement>>;
/**
* ----------------
* TearsheetHeaderActionsItem
* ----------------
*/
export interface TearsheetHeaderActionItemProps {
/**
* Provide child elements to be rendered inside TearsheetHeaderActions.
*/
children: ReactNode;
/**
* Specify an optional className to be added to your TearsheetHeaderActions
*/
className?: string;
/**
* The PageHeaderContent's page actions collapsible Menu button label
*/
overflowItemLabel?: string;
id?: string;
}
export declare const TearsheetHeaderActionItem: ({ children, className, }: TearsheetHeaderActionItemProps) => React.JSX.Element;
export {};
//# sourceMappingURL=TearsheetHeaderActions.d.ts.map