UNPKG

@radix-ui/themes

Version:

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

58 lines 1.55 kB
import type { GetPropDefTypes } from './prop-def.js'; declare const heightPropDefs: { /** * Sets the CSS **height** property. * Supports CSS strings and responsive objects. * * @example * height="100px" * height={{ md: '100vh', xl: '600px' }} * * @link * https://developer.mozilla.org/en-US/docs/Web/CSS/height */ height: { type: "string"; className: string; customProperties: "--height"[]; responsive: true; }; /** * Sets the CSS **min-height** property. * Supports CSS strings and responsive objects. * * @example * minHeight="100px" * minHeight={{ md: '100vh', xl: '600px' }} * * @link * https://developer.mozilla.org/en-US/docs/Web/CSS/min-height */ minHeight: { type: "string"; className: string; customProperties: "--min-height"[]; responsive: true; }; /** * Sets the CSS **max-height** property. * Supports CSS strings and responsive objects. * * @example * maxHeight="100px" * maxHeight={{ md: '100vh', xl: '600px' }} * * @link * https://developer.mozilla.org/en-US/docs/Web/CSS/max-height */ maxHeight: { type: "string"; className: string; customProperties: "--max-height"[]; responsive: true; }; }; type HeightProps = GetPropDefTypes<typeof heightPropDefs>; export { heightPropDefs }; export type { HeightProps }; //# sourceMappingURL=height.props.d.ts.map