import * as React from 'react' ; import { observer } from '../src/react' ; const App = ( props ) => { return null ; } ; const AppWithProps = ( props ) => { return null ; } ; const OApp = observer ( App ) ; const OAppWithProps = observer ( AppWithProps ) ; < OApp />; < OAppWithProps a = "123" / > ;