// This file will is used by next-es-interface and it renders the component as a string // TODO: Remove this file once next-es-interface and Elastic Search won't be used anymore to render articles (After r13n API will be used in Production by all the consumers: FT-App, next-article, FT Edit) import React from 'react' import ReactDOMServer from 'react-dom/server' import ClipComponent, { ClipProps } from './component' export { ClipComponent } export default function Clip(props: ClipProps) { return ReactDOMServer.renderToString( React.createElement(ClipComponent, props) ) }