Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
GCL_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-06-12 01:51:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
71694b4cff0fd47ead15b2b48ceb493f94220923
71694b4c
1 parent
28135953
stlye: 아이콘 스타일 추가
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
frontend/src/components/common/Button.js
frontend/src/components/common/Button.js
View file @
71694b4
...
...
@@ -10,10 +10,18 @@ const ButtonBlock = styled.div`
cursor: pointer;
`
;
const
Buttons
=
({
children
,
color
,
float
,
width
,
fontsize
})
=>
{
const
Buttons
=
({
children
,
size
=
'lg'
,
color
,
float
,
width
,
fontsize
,
icon
=
''
,
})
=>
{
return
(
<
ButtonBlock
float
=
{
float
}
width
=
{
width
}
fontsize
=
{
fontsize
}
>
<
Button
size
=
"lg"
color
=
{
color
||
'blue'
}
>
<
Button
size
=
{
size
}
color
=
{
color
||
'blue'
}
rightIcon
=
{
icon
}
>
{
children
}
<
/Button>
<
/ButtonBlock>
...
...
Please
register
or
login
to post a comment