IView interface
A view is the base class for any visual UI component.
View components are implemented using React components, and the render() method should return a React element.
Example:
class MyView implements IView { render() { return <MyComponent />; } }
Signature
export interface IView
Methods
Method | Description |
---|---|
close() | Called when the view is no longer used This means the view can clean up any resources used. |
render() | Return a React element to be rendered in the UI |