WidgetProps

Interface

The Widget component props. Included in AllWidgetProps.

Inheritance: WidgetPropsOmit<React.HTMLAttributes<HTMLDivElement>"style">

Properties

PropertyTypeNotes
boolean

Whether the layout item's width/height is auto.

string

The layout ID that the widget is placed in.

string

The layout item id that the widget is placed in. A widget must be placed in a layout item, and a layout has multiple layout items so it can hold multiple widgets.

string

The widget ID.

autoWidth

optional
Interface Property
autoWidth: boolean

Whether the layout item's width/height is auto.

layoutId

optional
Interface Property
layoutId: string

The layout ID that the widget is placed in.

layoutItemId

optional
Interface Property
layoutItemId: string

The layout item id that the widget is placed in. A widget must be placed in a layout item, and a layout has multiple layout items so it can hold multiple widgets.

widgetId

Interface Property
widgetId: string

The widget ID.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.