FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
custom-react-elements/example/example.js at fix/severity-issue · thread/custom-react-elements · GitHub
This repository was archived by the owner on May 14, 2024. It is now read-only.
thread
/
custom-react-elements
Public archive
Notifications
You must be signed in to change notification settings
Fork
0
Star
18
Code
Issues
0
Pull requests
3
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Security and quality
Insights
Expand file tree
Breadcrumbs
custom-react-elements
/
example
/
example.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (9 loc) · 363 Bytes
Breadcrumbs
custom-react-elements
/
example
/
example.js
Copy path
File metadata and controls
10 lines (9 loc) · 363 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
import
{
BasicComponent
,
ComponentWithProps
,
OldStyleComponent
,
}
from
'./component'
;
import
CustomReactElements
from
'../dist/custom-react-elements'
;
CustomReactElements
.
define
(
'basic-component'
,
BasicComponent
)
;
CustomReactElements
.
define
(
'component-with-props'
,
ComponentWithProps
)
;
CustomReactElements
.
define
(
'old-style-component'
,
OldStyleComponent
)
;
Back
|
FazBrowse Home
|
New Git URL