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