Home / @sym20/core-ui

core-ui package

This package provides APIs to access generic Symphony UI Services and Views

Remarks

This package defines base interfaces for providing UI components to extend the UI of various applications. Extensions do usually not use this package directly.

Views

A view represents a UI component. This is a base interface that is extended in other interfaces in other packages, to provide specific views for specific extension points.

Interfaces

InterfaceDescription
IService

A service is a module that encapsulates common functionality in some area

A service is part of the UI layer, but will service all applications using the features that the service provides.

This is the base class for all services.

IView

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 />;
  }
}