import type { JSX } from 'solid-js'; import type { DisclosureStateRenderProps } from '../../states/create-disclosure-state'; import type { HeadlessPropsWithRef, ValidConstructor } from '../../utils/dynamic-prop'; import type { OmitAndMerge } from '../../utils/types'; import type { ButtonProps } from '../button'; export type PopoverButtonProps = HeadlessPropsWithRef>>; /** * The trigger of a `Popover`. Carries `aria-expanded`, and `aria-controls` * while the panel is mounted. * * Renders a `