index.d.ts 650 B

1234567891011121314
  1. import * as React from "react";
  2. import * as Radix from "@radix-ui/react-primitive";
  3. import { Primitive } from "@radix-ui/react-primitive";
  4. type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
  5. export interface PortalProps extends PrimitiveDivProps {
  6. /**
  7. * An optional container where the portaled content should be appended.
  8. */
  9. container?: HTMLElement | null;
  10. }
  11. export const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<HTMLDivElement>>;
  12. export const Root: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<HTMLDivElement>>;
  13. //# sourceMappingURL=index.d.ts.map