Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-08 12:07:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
74c9e46aeeedd721e5c44bf1591182ecfbe69be7
74c9e46a
1 parent
ca7c8e9f
Create Button.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
front/src/Components/Button.js
front/src/Components/Button.js
0 → 100644
View file @
74c9e46
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
propTypes
from
"prop-types"
;
const
Container
=
styled
.
button
`
border: 0;
`
;
const
Button
=
({
text
})
=>
<
Container
>
{
text
}
<
/Container>
;
Button
.
propTypes
=
{
text
:
propTypes
.
string
.
isRequired
,
};
export
default
Button
;
Please
register
or
login
to post a comment