import React from 'react'
import usePopover from './use-popover'
/**
* @deprecated This component is deprecated and will be removed in v3.0.0.
* Use the new native Popover component from `@fpkit/acss` instead.
*
* @see {@link ../components/popover/popover.tsx} New Popover Component
*
* Interface for props accepted by the legacy Popover component
*
* @property {ReactNode} children - The content to show in the popover
* @property {ReactNode} [content] - Optional alternative content for popover
*/
export type PopoverProps = {
children: React.ReactNode
content?: React.ReactNode
}
/**
* @deprecated This component is deprecated and will be removed in v3.0.0.
* Use the new Popover component which provides native HTML Popover API support,
* better accessibility, automatic layer management, and platform-native behavior.
*
* **Migration Guide:**
* ```tsx
* // ❌ Old (deprecated)
* import { Popover } from '@fpkit/acss/hooks';
*