File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33This example shows how to create a React component in a JS file along with a
44Reflex wrapper in python that allows its use in a Reflex app.
55
6- The custom component is ` local_component/hello.js ` and is a standard React
6+ The custom component is ` local_component/hello.jsx ` and is a standard React
77component that displays a greeting with some additional functionality.
File renamed without changes.
Original file line number Diff line number Diff line change 88
99# Defining the asset with a module-relative path will result in copying the
1010# file into a subdir of the .web/public directory
11- component_asset = rx .asset (path = "hello.js " , shared = True )
11+ component_asset = rx .asset (path = "hello.jsx " , shared = True )
1212
1313
1414class Hello (Div ):
You can’t perform that action at this time.
0 commit comments