UNPKG

@radix-ui/themes

Version:

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

31 lines (30 loc) 813 B
import { widthPropDefs } from '../props/index.js'; import type { GetPropDefTypes } from '../props/index.js'; declare const tooltipPropDefs: { content: { type: "ReactNode"; required: 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; }; }; type TooltipOwnProps = GetPropDefTypes<typeof tooltipPropDefs & typeof widthPropDefs>; export { tooltipPropDefs }; export type { TooltipOwnProps };