forked from sdp-tech/UPCY_Mobile
-
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.
sdp-tech#77 feat: add lookbook button component
- Loading branch information
1 parent
48a8547
commit 189547c
Showing
3 changed files
with
190 additions
and
134 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,27 @@ | ||
import { StyleSheet, View, ViewStyle } from 'react-native'; | ||
import { GREEN, PURPLE } from '../../styles/GlobalColor'; | ||
import { Upcymall12M } from '../../styles/GlobalText'; | ||
|
||
const LookbookButton = ({ positioning }: { positioning?: ViewStyle }) => { | ||
return ( | ||
<View style={{ ...positioning }}> | ||
<View style={Styles.container}> | ||
<Upcymall12M style={{ color: GREEN }}>UPCYMALL</Upcymall12M> | ||
</View> | ||
</View> | ||
); | ||
}; | ||
|
||
const Styles = StyleSheet.create({ | ||
container: { | ||
backgroundColor: PURPLE, | ||
paddingHorizontal: 8, | ||
paddingVertical: 6, | ||
borderRadius: 5, | ||
width: 'auto', | ||
alignSelf: 'flex-start', | ||
margin: 5, | ||
}, | ||
}); | ||
|
||
export default LookbookButton; |
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
Oops, something went wrong.