-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c10c00b
commit 5c75b56
Showing
4 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
.button { | ||
background-color: #f1f1f1; | ||
color: black; | ||
padding: 0.5em; | ||
font-size: 16px; | ||
border: none; | ||
cursor: pointer; | ||
margin-right: 1em; | ||
/* height: 100%; */ | ||
/* display: flex; */ | ||
/* align-items: center; */ | ||
transition: all 0.3s; | ||
} | ||
|
||
.button:disabled { | ||
opacity: 0.5; | ||
} | ||
|
||
.button:hover { | ||
box-shadow: 1px 3px 8px 0 rgba(0, 0, 0, 0.2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { ButtonHTMLAttributes } from 'react'; | ||
import styles from './index.module.css'; | ||
|
||
export const Button = (props: ButtonHTMLAttributes<HTMLButtonElement>) => { | ||
console.log(styles); | ||
return <button className={styles.button} type="button" {...props} />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters