UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

55 lines (54 loc) 1.49 kB
import { asChildPropDef, heightPropDefs, widthPropDefs } from '../props/index.js'; import type { GetPropDefTypes } from '../props/index.js'; declare const popoverContentPropDefs: { height: { type: "string"; className: string; customProperties: "--height"[]; responsive: true; }; minHeight: { type: "string"; className: string; customProperties: "--min-height"[]; responsive: true; }; maxHeight: { type: "string"; className: string; customProperties: "--max-height"[]; responsive: true; }; size: { type: "enum"; className: string; values: readonly ["1", "2", "3", "4"]; default: "2"; responsive: true; }; width: { type: "string"; className: string; customProperties: "--width"[]; responsive: true; }; minWidth: { type: "string"; className: string; customProperties: "--min-width"[]; responsive: true; }; maxWidth: { default: string; type: "string"; className: string; customProperties: "--max-width"[]; responsive: true; }; asChild: { type: "boolean"; }; }; type PopoverContentOwnProps = GetPropDefTypes<typeof popoverContentPropDefs & typeof asChildPropDef & typeof widthPropDefs & typeof heightPropDefs>; export { popoverContentPropDefs }; export type { PopoverContentOwnProps };