API Reference > ui-components > Viewport > ViewportComponent ViewportComponent Class A viewport React component that creates a ScreenViewport. Extends Component<ViewportProps, ViewportState> Methods Name Description constructor(props: ViewportProps): ViewportComponent componentDidMount(): Promise<void> componentDidUpdate(prevProps: ViewportProps): Promise<void> componentWillUnmount(): void render(): Element Defined in ui/components/src/ui-components/viewport/ViewportComponent.tsx Line 65 Last Updated: 12 June, 2024