UNPKG

@ark-ui/solid

Version:

A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.

17 lines (14 loc) 621 B
import { JSX } from 'solid-js'; import { A as Assign } from '../../types-Bc0WfPsv.js'; interface FrameBaseProps { /** Additional content to be inserted into the frame's <head> */ head?: JSX.Element; /** Callback function to be executed when the frame is mounted */ onMount?: () => void; /** Callback function to be executed when the frame is unmounted */ onUnmount?: () => void; } interface FrameProps extends Assign<JSX.IframeHTMLAttributes<HTMLIFrameElement>, FrameBaseProps> { } declare const Frame: (props: FrameProps) => JSX.Element; export { Frame, type FrameBaseProps, type FrameProps };