-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 요일별 휴업 기능 적용 #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 요일별 휴업 기능 적용 #131
Changes from 8 commits
510d353
9db1ddb
dd5c734
ce86f4d
82703d2
5ceebc6
4ef8f8a
272411c
9964847
c663aa9
4da014f
11aaaf9
2b03585
a079d7c
3d2bb04
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,6 @@ | |
|
|
||
| sh ./.script/pre-install.sh | ||
|
|
||
| yarn install | ||
| yarn install --immutable | ||
|
|
||
| sh ./.script/post-install.sh | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import styled from '@emotion/native'; | ||
|
|
||
| const S = { | ||
| Container: styled.View` | ||
| display: flex; | ||
| background-color: ${({theme}) => theme.colors.secondary}; | ||
|
|
||
| border-radius: 8px; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 32px; | ||
| height: 32px; | ||
| `, | ||
|
|
||
| TouchWrapper: styled.Pressable` | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 100%; | ||
| height: 100%; | ||
| `, | ||
| }; | ||
|
|
||
| export default S; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| import React from 'react'; | ||
| import Icon from 'react-native-vector-icons/Entypo'; | ||
| import S from './CustomCheckbox.style'; | ||
|
|
||
| type CustomCheckboxProps = { | ||
| checked: boolean; | ||
| onPress: () => void; | ||
| size?: number; | ||
| color?: string; | ||
| }; | ||
|
|
||
| const CustomCheckbox = ({ | ||
| checked, | ||
| onPress, | ||
| size = 18, | ||
| color = 'black', | ||
| }: CustomCheckboxProps) => { | ||
| return ( | ||
| <S.Container> | ||
|
||
| <S.TouchWrapper onPress={onPress}> | ||
| {checked && <Icon name="check" size={size} color={color} />} | ||
| </S.TouchWrapper> | ||
| </S.Container> | ||
| ); | ||
| }; | ||
|
|
||
| export default CustomCheckbox; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export {default as CustomCheckbox} from './CustomCheckbox'; |
Uh oh!
There was an error while loading. Please reload this page.