@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
37 lines (36 loc) • 1.02 kB
TypeScript
import { asChildPropDef, widthPropDefs } from '../props/index.js';
import type { GetPropDefTypes } from '../props/index.js';
declare const dialogContentPropDefs: {
size: {
type: "enum";
className: string;
values: readonly ["1", "2", "3", "4"];
default: "3";
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 DialogContentOwnProps = GetPropDefTypes<typeof dialogContentPropDefs & typeof asChildPropDef & typeof widthPropDefs>;
export { dialogContentPropDefs };
export type { DialogContentOwnProps };