import React from "react"; import { HeaderGlobalAction as CarbonHeaderGlobalAction } from "@carbon/react"; // import { HeaderGlobalActionProps as CarbonHeaderGlobalActionProps } from "@carbon/react/es/components/UIShell/HeaderGlobalAction"; // TODO: check later again, currently interface is not exported import { CLASSPREFIX as eccgui } from "../../configuration/constants"; // workaround to get type/interface type CarbonHeaderGlobalActionProps = React.ComponentProps; export interface ApplicationToolbarActionProps extends CarbonHeaderGlobalActionProps, Omit, "children" | "onClick"> {} export const ApplicationToolbarAction = ({ children, className = "", ...otherCarbonHeaderGlobalActionProps }: ApplicationToolbarActionProps) => { return ( {children} ); }; export default ApplicationToolbarAction;