UNPKG

@cbinsights/fds

Version:
10 lines (9 loc) 488 B
import React from 'react'; export interface MenuTriggerProps { /** Change the component to the HTML tag or custom component of the only child. This will merge the original component props with the props of the supplied element/component and change the underlying DOM node. */ asChild?: boolean; /** ContextMenuTrigger */ children: React.ReactNode; } declare const MenuTrigger: ({ children, asChild, ...rest }: MenuTriggerProps) => JSX.Element; export default MenuTrigger;