diff --git a/src/assets/lookbook/plusSquare.svg b/src/assets/lookbook/plusSquare.svg new file mode 100644 index 0000000..e97aec4 --- /dev/null +++ b/src/assets/lookbook/plusSquare.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Lookbook/LookbookAddButton.tsx b/src/components/Lookbook/LookbookAddButton.tsx new file mode 100644 index 0000000..97b8756 --- /dev/null +++ b/src/components/Lookbook/LookbookAddButton.tsx @@ -0,0 +1,29 @@ +import { StyleSheet, TouchableOpacity, View } from 'react-native'; +import PlusSquare from '../../assets/lookbook/plusSquare.svg'; +import { Container } from 'react-native-collapsible-tab-view'; + +const LookbookAddButton = ({ onPress }: { onPress: () => void }) => { + return ( + + + + + + + + ); +}; + +const Styles = StyleSheet.create({ + container: { + width: 54, + height: 54, + backgroundColor: 'black', + borderRadius: 100, + alignItems: 'center', + justifyContent: 'center', + margin: 5, + }, +}); + +export default LookbookAddButton; diff --git a/src/pages/ComponentsTest.tsx b/src/pages/ComponentsTest.tsx index 03cfe82..e18f59c 100644 --- a/src/pages/ComponentsTest.tsx +++ b/src/pages/ComponentsTest.tsx @@ -3,6 +3,7 @@ import Dropdown from '../common/Dropdown'; import { useState } from 'react'; import { Body16M } from '../styles/GlobalText'; import LookbookButton from '../components/Lookbook/LookbookButton'; +import LookbookAddButton from '../components/Lookbook/LookbookAddButton'; const TestDropdown = ({ index }: { index: number }) => { const [value, setValue] = useState(undefined); @@ -26,6 +27,7 @@ export default function ComponentsTest() { 테스트용 페이지 + {}} /> );