import EditorNew from './editor-new' ; export default ( properties ) : React . ReactElement => { const editorProperties = { onEdit : ( ) => console . log ( "onEdit widget" ) , onCancelEdit : ( ) => console . log ( "onCancelEdit widget" ) } ; return < EditorNew { ... properties } { ... editorProperties } />; } ;