Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(popup): Add "open more in toggl" button to the bottom of the ent…
…ries list - Add reusable button component - Add footer to TimeEntriesList to open toggl.com
- Loading branch information
1 parent
34f9447
commit ea0af03
Showing
4 changed files
with
53 additions
and
3 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
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,29 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
import * as color from '../../style/lib/color'; | ||
import * as text from '../../style/lib/text'; | ||
|
||
const Button = styled.button` | ||
height: 36px; | ||
padding: 0 20px; | ||
color: ${color.black}; | ||
text-align: center; | ||
font-size: ${text.regular}; | ||
font-weight: ${text.normal}; | ||
border: 1px solid ${color.extraLightGrey}; | ||
border-radius: 8px; | ||
background-color: ${color.white}; | ||
cursor: pointer; | ||
&:focus { | ||
outline: none; | ||
} | ||
&.disabled { | ||
cursor: default; | ||
} | ||
`; | ||
|
||
export default Button; |
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,3 @@ | ||
export { | ||
default as Button | ||
} from './Button'; |
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