forked from TEAM-BEAT/BEAT-Client
-
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
Showing
9 changed files
with
86 additions
and
28 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
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
20 changes: 20 additions & 0 deletions
20
src/components/commons/bottomSheet/viewBottomSheet/ViewBottomSheetStyle.tsx
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 |
---|---|---|
@@ -1,5 +1,25 @@ | ||
import styled from "styled-components"; | ||
|
||
import { boxTitleStyle, boxDividerStyle } from "../../../../types/contextBoxPropsTypes"; | ||
|
||
export const ViewBottomSheetWrapper = styled.section` | ||
display: flex; | ||
`; | ||
|
||
export const BoxTitle = styled.h1<boxTitleStyle>` | ||
width: ${({ width = "auto" }) => width}; | ||
color: ${({ theme, customColor = "white" }) => | ||
theme.colors[customColor as keyof typeof theme.colors]}; | ||
${({ theme, customFont = "body1-normal-medi" }) => | ||
theme.fonts[customFont as keyof typeof theme.fonts]}; | ||
`; | ||
export const BoxDivider = styled.div<boxDividerStyle>` | ||
width: ${({ width = "29.5rem" }) => width}; | ||
margin: 0.6rem 0; | ||
color: ${({ theme }) => theme.colors.gray_500}; | ||
border-top: 0.1rem solid; | ||
`; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
import styled from "styled-components"; | ||
import ViewBottomSheet from "../../components/commons/bottomSheet/viewBottomSheet/ViewBottomSheet"; | ||
import Context from "@components/commons/contextBox/Context"; | ||
|
||
const TestPage = () => { | ||
return ( | ||
<div> | ||
<Test> | ||
<h1>Test Page</h1> | ||
<p>Test Page</p> | ||
<Test>Test Page</Test> | ||
<ViewBottomSheet /> | ||
</div> | ||
</Test> | ||
); | ||
}; | ||
|
||
export default TestPage; | ||
|
||
const Test = styled.div` | ||
background-color: white; | ||
`; |
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