File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import PropTypes from "prop-types"
22import React from "react"
3- import Github from "../../assets/github .svg"
3+ import Github from "../../assets/github_black .svg"
44const GithubButton = ( { children, className, onClick } ) => (
55 < button className = { `${ className } cursor-pointer ` } onClick = { onClick } >
66 < span className = "flex flex-row" >
7- { children } < img src = { Github } alt = "framework" className = "w-6" />
7+ { children } < img src = { Github } alt = "framework" className = "w-6 ml-2 " />
88 </ span >
99 </ button >
1010)
@@ -16,6 +16,6 @@ GithubButton.propTypes = {
1616}
1717
1818GithubButton . defaultProps = {
19- className : `font-display rounded-px px-8 border border-black border-3` ,
19+ className : `font-display rounded-px px-6 py-2 border border-black border-3` ,
2020}
2121export default GithubButton
You can’t perform that action at this time.
0 commit comments