@cbinsights/fds
Version:
Form: A design system by CB Insights
10 lines (9 loc) • 488 B
TypeScript
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;