<html>
    <head>
        <title>hellow</title>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script>
        <meta charset="utf-8"  />
    </head>
    <body>
        <div onChange={this.handleChange} /> <span>{this.state.inputContent}</span>
                    </div>
                );
            }
        });

        //调用组建
        React.render(
            <div>
                <TestButtonComponent />
                <br/> <br/>
                <br/>
                <TestInputComponent />
            </div>,
            document.getElementById('root')
        );

        </script>
    </body>

<html>

相关文章:

  • 2021-08-24
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2021-05-22
  • 2021-07-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-15
  • 2021-06-03
  • 2022-12-23
  • 2021-08-20
  • 2021-12-29
相关资源
相似解决方案