import React from 'react' ; import ReactDOM from 'react-dom' ; import { AppMountParameters } from 'kibana/public' ; const DeprecationsApp = ( ) => < div > Deprcations App < /div>; export const renderApp = ( { element } ) => { ReactDOM . render ( < DeprecationsApp />, element); return ( ) => ReactDOM . unmountComponentAtNode ( element ) ; } ;