superdesk/superdesk-client-core

View on GitHub
scripts/apps/search/components/fields/queueError.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import {QueueError} from '../index';
import {IPropsItemListInfo} from '../ListItemInfo';

class QueueErrorComponent extends React.Component<IPropsItemListInfo> {
    render() {
        const props = this.props;

        return (
            <QueueError
                item={props.item}
                key="queueError"
            />
        );
    }
}

export const queueError = QueueErrorComponent;