API Reference > ui-components > Viewport > ViewportProps ViewportProps Interface Properties for ViewportComponent component. Extends CommonProps Properties Name Type Description imodel IModelConnection IModel to display viewDefinitionId undefined | Id64String Id of a default view definition to load as a starting point viewState undefined | ViewState ViewState to use as a starting point viewportRef undefined | (v: ScreenViewport) => void Function to get a reference to the ScreenViewport Inherited properties Name Type Inherited from Description className undefined | string ClassNameProps Custom CSS class name style undefined | React.CSSProperties CommonProps Custom CSS style properties Defined in ui/components/src/ui-components/viewport/ViewportComponent.tsx Line 38 Last Updated: 13 June, 2024