Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sample_Argon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Geetanjali B
sample_Argon
Merge requests
!10
Card Component
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Card Component
pavan.kamath/sample_argon:feature/pavan_kamath/card_component
into
minion
Overview
3
Commits
6
Pipelines
0
Changes
1
3 open threads
Hide all comments
Merged
Card Component
Pavan Kamath
requested to merge
pavan.kamath/sample_argon:feature/pavan_kamath/card_component
into
minion
Jan 12, 2022
Overview
3
Commits
6
Pipelines
0
Changes
1
3 open threads
Hide all comments
0
0
Merge request reports
Viewing commit
df97a9c9
Prev
Next
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
df97a9c9
Card Component
· df97a9c9
Pavan Kamath
authored
Jan 12, 2022
src/components/Card/index.jsx
+
5
−
1
View file @ df97a9c9
Edit in single-file editor
Open in Web IDE
Show full file
@@ -5,7 +5,7 @@ import styles from "./Card.module.scss";
function
Card
(
props
)
{
const
{
customClass
,
children
}
=
props
;
return
(
<
div
className
=
{
cs
(
customClass
,
styles
.
card
)
}
title
=
"Copy to
c
lipboard"
>
<
div
className
=
{
cs
(
customClass
,
styles
.
card
)
}
title
=
"Copy to
C
lipboard"
>
{
children
}
</
div
>
);
@@ -16,4 +16,8 @@ Card.propTypes = {
customClass
:
PropTypes
.
string
,
};
Card
.
defaultProps
=
{
customClass
:
""
,
}
export
default
Card
;
Loading