import { default as React } from 'react'; import * as DialogPrimitive from '@radix-ui/react-dialog'; type TriggerProps = Omit, 'asChild' | 'children'> & { /** * This component requires a `children` prop which should be a `Button` component. * The `asChild` prop is set to `true` for the underlying `DialogPrimitive.Trigger`, * so the `children` must be a valid React element, specifically a `Button`. */ children: React.ReactElement; }; declare const Trigger: React.ForwardRefExoticComponent, "ref">, "children" | "asChild"> & { /** * This component requires a `children` prop which should be a `Button` component. * The `asChild` prop is set to `true` for the underlying `DialogPrimitive.Trigger`, * so the `children` must be a valid React element, specifically a `Button`. */ children: React.ReactElement; } & React.RefAttributes>; export { Trigger }; export type { TriggerProps };