FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-react/tests/components/ReactAddonsComponent.jsx at master · markfinger/python-react · GitHub
markfinger
/
python-react
Public
Notifications
You must be signed in to change notification settings
Fork
115
Star
1.6k
Code
Issues
7
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-react
/
tests
/
components
/
ReactAddonsComponent.jsx
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (11 loc) · 345 Bytes
Breadcrumbs
python-react
/
tests
/
components
/
ReactAddonsComponent.jsx
Copy path
File metadata and controls
13 lines (11 loc) · 345 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
11
12
13
var
React
=
require
(
'react'
)
;
var
ReactWithAddons
=
require
(
'react/addons'
)
;
var
ReactAddonsComponent
=
React
.
createClass
(
{
render
:
function
(
)
{
if
(
React
.
addons
===
undefined
&&
ReactWithAddons
.
addons
!==
undefined
)
{
return
<
span
>
Success
</
span
>
;
}
return
<
span
>
Fail
</
span
>
;
}
}
)
;
module
.
exports
=
ReactAddonsComponent
;
Back
|
FazBrowse Home
|
New Git URL