Commit 7e7c5ced by tungnq

TODO: Đã hoàn thiện xong màn công việc

parent c36ba5e8
...@@ -67,9 +67,38 @@ const DetailIncomingDocument = (props) => { ...@@ -67,9 +67,38 @@ const DetailIncomingDocument = (props) => {
} }
} }
) ; ) ;
const items = [
{ id: 1, label: 'Option 1' },
{ id: 2, label: 'Option 2' },
{ id: 3, label: 'Option 3' },
];
const [dataList, setDataList] = useState([
{ id: 1, name: 'Nguyễn Minh Đức' },
{ id: 2, name: 'Trần Văn Hùng' },
{ id: 3, name: 'Lê Thị Mai' },
{ id: 4, name: 'Phạm Quốc Khánh' },
{ id: 5, name: 'Hoàng Anh Tuấn' },
{ id: 6, name: 'Vũ Thị Hằng' },
{ id: 7, name: 'Ngô Văn Nam' },
{ id: 8, name: 'Đinh Thị Lan' },
{ id: 9, name: 'Bùi Văn Phúc' },
{ id: 10, name: 'Lý Thị Hoa' },
{ id: 11, name: 'Phan Minh Hoàng' },
{ id: 12, name: 'Tạ Thị Hương' },
{ id: 13, name: 'Đoàn Văn Dũng' },
{ id: 14, name: 'Nguyễn Thị Vân' },
{ id: 15, name: 'Trương Văn Long' },
{ id: 16, name: 'Mai Thị Ngọc' },
{ id: 17, name: 'Huỳnh Quốc Việt' },
{ id: 18, name: 'Lâm Thị Thu' },
{ id: 19, name: 'Nguyễn Hữu Tài' },
{ id: 20, name: 'Phạm Thị Kim' }
]);
return ( return (
<DetailIncomingDocumentView <DetailIncomingDocumentView
items={items}
icomingDocument={icomingDocument} icomingDocument={icomingDocument}
dataList={dataList}
/> />
); );
......
...@@ -75,7 +75,7 @@ const styles = StyleSheet.create({ ...@@ -75,7 +75,7 @@ const styles = StyleSheet.create({
padding:10, padding:10,
width:300 width:300
}, },
//MODAL //MODAL Thêm Bút Phê
modalOverlay: { modalOverlay: {
flex: 1, flex: 1,
backgroundColor: 'rgba(0, 0, 0, 0.5)', backgroundColor: 'rgba(0, 0, 0, 0.5)',
...@@ -163,7 +163,44 @@ const styles = StyleSheet.create({ ...@@ -163,7 +163,44 @@ const styles = StyleSheet.create({
fontFamily:R.fonts.fontRegular, fontFamily:R.fonts.fontRegular,
fontWeight: '400', fontWeight: '400',
}, },
//MODAL Thêm công việc
containerDropdown:{
marginBottom:10,
marginTop:10,
position: 'relative',
zIndex: 1000
},
chip: {
flexDirection: 'row',
alignItems: 'center',
// position: 'relative',
paddingLeft: 10,
paddingRight:10,
height: 25,
borderRadius: 10,
marginBottom:10,
marginRight:5,
backgroundColor: R.colors.blue2,
alignSelf:'flex-start'
},
imageIcon: {
width: 15,
height: 15,
},
containerIcon: {
marginRight: 2,
},
flatListSelect:{
flexDirection:'row',
flexWrap:'wrap',
},
textChip:{
fontSize: R.fontsize.fontSizeContent,
fontWeight: '400',
fontFamily:R.fonts.fontRegular,
color:R.colors.blueTextChip,
}
}) })
export default styles export default styles
\ No newline at end of file
...@@ -118,6 +118,7 @@ const NotificationDetailView = props => { ...@@ -118,6 +118,7 @@ const NotificationDetailView = props => {
</Text> </Text>
<View style={styles.containerDropdown}> <View style={styles.containerDropdown}>
<Dropdown <Dropdown
height={35}
items={items} items={items}
placeholder="Chọn tùy chọn" placeholder="Chọn tùy chọn"
onSelect={item => console.log('Bạn đã chọn:', item)} onSelect={item => console.log('Bạn đã chọn:', item)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment