UNPKG

@cbinsights/fds

Version:
10 lines (9 loc) 516 B
import React from 'react'; export interface ContextMenuTriggerProps { /** 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 ContextMenuTrigger: ({ children, asChild, ...rest }: ContextMenuTriggerProps) => JSX.Element; export default ContextMenuTrigger;