superdesk/superdesk-client-core

View on GitHub
scripts/apps/search/components/fields/highlights.ts

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import {HighlightsInfo} from '../index';
import {IPropsItemListInfo} from '../ListItemInfo';

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

        return React.createElement(HighlightsInfo, angular.extend({
            key: 'highlights',
        }, props));
    }
}

export const highlights = HighlightsComponent;