superdesk/superdesk-client-core

View on GitHub
scripts/apps/dashboard/widget-layout.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import {widgetReactIntegration} from 'apps/authoring/widgets/widgets';
import {IAuthoringWidgetLayoutProps} from 'superdesk-api';

export class AuthoringWidgetLayout extends React.PureComponent<IAuthoringWidgetLayoutProps> {
    render() {
        const {WidgetLayoutComponent} = widgetReactIntegration;

        return (
            <WidgetLayoutComponent {...this.props} />
        );
    }
}