View as Markdown

API reference: @salmonui/overlays/popover

Popoverfunction

import { Popover } from '@salmonui/overlays/popover';
function Popover(props: PopoverProps): ReactElement;

namespace Popover {
    export { PopoverTrigger as Trigger };
    export { PopoverContent as Content };
    export { PopoverTitle as Title };
    export { PopoverDescription as Description };
    export { PopoverClose as Close };
}

Popover root: holds the open triad and the ids. Renders no element of its own.