Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Donations
Commits
76439cb9
Commit
76439cb9
authored
Feb 18, 2021
by
Michael Iseard
Browse files
Pass additional props to SettingsCard component
parent
be8d0a8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/js/Settings/Components/Panels/CampaignPanel.jsx
View file @
76439cb9
...
...
@@ -25,7 +25,7 @@ const CampaignPanel = ({settings, campaign, removeCampaign, handleInputChange, a
return
(
<
div
id
=
{
"
campaign-
"
+
campaign
.
id
}
>
<
SettingCard
title
=
{
__
(
'
General
'
,
'
kudos-donations
'
)
}
id
=
"campaignPanel"
>
<
SettingCard
title
=
{
__
(
'
General
'
,
'
kudos-donations
'
)
}
id
=
"campaignPanel"
settings
=
{
settings
}
campaign
=
{
campaign
}
handleInputChange
=
{
handleInputChange
}
>
<
TextControl
label
=
{
__
(
'
Name
'
,
'
kudos-donations
'
)
}
help
=
{
__
(
'
Ensure that this is a unique name to make it easy to identify in the transactions page.
'
,
'
kudos-donations
'
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment