# IPopoverProps

````tsx
interface IPopoverProps {
    /**
     * title of the popup bubble
     *  This can be either a string or a JSX element
     * @example
     * 
     * ```
     * title="Popover Title"
     * ```
     * 
     * * @example
     * 
     * ```
     * title={() => <div>Popover Title</div>
     * ```
     */
    title: string | IContentFunction,

    /**
     * the content to show within the bubble
     *  This can be either a string or a JSX element
     * 
     * * @example
     * 
     * ```
     * content="Popover Content"
     * ```
     * 
     * * @example
     * 
     * ```
     * content={() => <div>Popover content</div>
     * ```
     * 
     */
    content: string | IContentFunction,

    /**
     * Where the bubble should be positioned relative to the element 
     */
    position?: IPopoverPosition

    /**
     * the content to show within the bubble
     *  This can be either a string or a JSX element
     * 
     * * @example
     * 
     * ```
     *  <Popover 
     *      title="Popover" 
     *      content="This is a popover"
     *  >
     *      <button className="btn showcase" >Click to Show popover</button>
     *  </Popover>
     *                 
     * ```
     * 
     * * @example
     * 
     * ```
     *  <Popover 
     *      title={() => <div>Popover</div>} 
     *      content={() => <div>This is a popover</div>}
     *      position="left"
     *  >
     *      <button className="btn showcase" >Click to Show popover</button>
     *  </Popover>
     * ```
     * 
     */
}
````

## Usage

```tsx
import {IPopoverProps} from 'uxp/components';
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.iviva.com/uxp/stable/types/ipopoverprops.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
