tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > SizeProps

SizeProps interface

Signature:

export interface SizeProps

Properties

Property Modifiers Type Description
height?   number (Optional) Height of the component. Values higher than 1 are treated as pixels. Values less than or equal to 1 are treated as percentage. Zero is ignored.
maxHeight?   number (Optional) Maximum height of the component in pixels.
maxWidth?   number (Optional) Maximum width of the component in pixels.
minHeight?   number (Optional) Minimum height of the component in pixels.
minWidth?   number (Optional) Minimum width of the component in pixels.
width?   number (Optional) Width of the component. Values higher than 1 are treated as pixels. Values less than or equal to 1 are treated as percentage. Zero is ignored.