UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

8 lines (7 loc) 571 B
import React from "react"; import { HeaderGlobalAction as CarbonHeaderGlobalAction } from "@carbon/react"; type CarbonHeaderGlobalActionProps = React.ComponentProps<typeof CarbonHeaderGlobalAction>; export interface ApplicationToolbarActionProps extends CarbonHeaderGlobalActionProps, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onClick"> { } export declare const ApplicationToolbarAction: ({ children, className, ...otherCarbonHeaderGlobalActionProps }: ApplicationToolbarActionProps) => React.JSX.Element; export default ApplicationToolbarAction;