-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added boost button to youtube (#464)
* feat: added boost button to youtube * feat: adding boost amount to sidebar items --------- Co-authored-by: Github Actions <github-actions@github.com>
- Loading branch information
1 parent
c228f31
commit 53efd80
Showing
6 changed files
with
83 additions
and
18 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,18 @@ | ||
import { Text } from '~/components/common/Text' | ||
import styled from 'styled-components' | ||
import BoostIcon from '~/components/Icons/BoostIcon' | ||
|
||
type Props = { | ||
amt: number | ||
} | ||
export const BoostAmt = ({ amt }: Props) => ( | ||
<div style={{ alignSelf: 'center' }}> | ||
<BoostIcon /> | ||
|
||
<StyledText color="white">{amt}</StyledText> | ||
</div> | ||
) | ||
|
||
const StyledText = styled(Text)` | ||
padding-left: 10px; | ||
` |
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
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
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