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
Dushyanth Prabhu
sample_Argon
Commits
890bd970
Commit
890bd970
authored
Jan 10, 2022
by
Sindhu NR
Browse files
Options
Downloads
Patches
Plain Diff
Avatar
parent
d6e676ef
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Button/index.jsx
+14
-8
14 additions, 8 deletions
src/components/Button/index.jsx
src/containers/Login/index.jsx
+3
-1
3 additions, 1 deletion
src/containers/Login/index.jsx
with
17 additions
and
9 deletions
src/components/Button/index.jsx
+
14
−
8
View file @
890bd970
import
React
from
"
react
"
;
import
React
from
'
react
'
import
PropTypes
from
"
prop-types
"
;
import
PropTypes
from
"
prop-types
"
;
import
cs
from
"
classnames
"
;
import
"
./Button.module.scss
"
;
import
styles
from
"
./Button.module.scss
"
;
function
Button
(
props
)
{
function
Button
(
props
)
{
return
<
div
className
=
{
cs
(
styles
.
customButton
)
}
>
here
</
div
>;
const
{
label
,
customClass
}
=
props
;
}
return
(
<>
<
button
className
=
{
`btn
${
customClass
}
`
}
>
{
label
}
</
button
>
Button
.
propTypes
=
{};
</>
)
}
export
default
Button
;
export
default
Button
This diff is collapsed.
Click to expand it.
src/containers/Login/index.jsx
+
3
−
1
View file @
890bd970
import
React
from
"
react
"
;
import
React
from
"
react
"
;
import
PropTypes
from
"
prop-types
"
;
import
PropTypes
from
"
prop-types
"
;
import
Avatar
from
"
../../components/Avatar
"
;
import
{
team4
}
from
"
../../assets/img/theme
"
;
function
Login
(
props
)
{
function
Login
(
props
)
{
return
<
div
>
return
<
div
>
Login
<
Avatar
src
=
{
team4
}
alt
=
"Icon"
/>
</
div
>;
</
div
>;
}
}
...
...
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