Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logging-scratch-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Goessmann
logging-scratch-gui
Commits
16b1c907
Commit
16b1c907
authored
8 years ago
by
Ray Schamp
Browse files
Options
Downloads
Patches
Plain Diff
Fix components for react-modal 1.6.5
parent
e8fdd3b8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/library/library.jsx
+2
-1
2 additions, 1 deletion
src/components/library/library.jsx
src/components/modal/modal.jsx
+2
-0
2 additions, 0 deletions
src/components/modal/modal.jsx
with
4 additions
and
1 deletion
src/components/library/library.jsx
+
2
−
1
View file @
16b1c907
...
...
@@ -24,6 +24,7 @@ class LibraryComponent extends React.Component {
render
()
{
return
(
<
ModalComponent
contentLabel
=
{
this
.
props
.
title
}
visible
=
{
this
.
props
.
visible
}
onRequestClose
=
{
this
.
props
.
onRequestClose
}
>
...
...
@@ -67,7 +68,7 @@ LibraryComponent.propTypes = {
),
onItemSelected
:
React
.
PropTypes
.
func
,
onRequestClose
:
React
.
PropTypes
.
func
,
title
:
React
.
PropTypes
.
string
,
title
:
React
.
PropTypes
.
string
.
isRequired
,
visible
:
React
.
PropTypes
.
bool
};
...
...
This diff is collapsed.
Click to expand it.
src/components/modal/modal.jsx
+
2
−
0
View file @
16b1c907
...
...
@@ -10,6 +10,7 @@ class ModalComponent extends React.Component {
return
(
<
ReactModal
className
=
{
styles
.
modalContent
}
contentLabel
=
{
this
.
props
.
contentLabel
}
isOpen
=
{
this
.
props
.
visible
}
overlayClassName
=
{
styles
.
modalOverlay
}
ref
=
{
m
=>
(
this
.
modal
=
m
)
}
...
...
@@ -34,6 +35,7 @@ class ModalComponent extends React.Component {
ModalComponent
.
propTypes
=
{
children
:
React
.
PropTypes
.
node
,
contentLabel
:
React
.
PropTypes
.
string
.
isRequired
,
onRequestClose
:
React
.
PropTypes
.
func
,
visible
:
React
.
PropTypes
.
bool
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment