Commit 307b4245 by tungnq

TODO: Điều chỉnh giao diện button

parent 9ce41d07
...@@ -53,8 +53,7 @@ const ListWorkView = props => { ...@@ -53,8 +53,7 @@ const ListWorkView = props => {
}; };
const renderActionButtons = item => { const renderActionButtons = item => {
const buttons = getButtonsForStatus(item.status, item);
const buttons = getButtonsForStatus(item.status);
return buttons.map((button, index) => ( return buttons.map((button, index) => (
<Button <Button
...@@ -71,7 +70,7 @@ const ListWorkView = props => { ...@@ -71,7 +70,7 @@ const ListWorkView = props => {
textColor={R.colors.white} textColor={R.colors.white}
fontSize={R.fontsize.fontSizeContent} fontSize={R.fontsize.fontSizeContent}
height={30} height={30}
width={120} width={100}
containerStyle={{marginRight: 10, borderRadius: 20}} containerStyle={{marginRight: 10, borderRadius: 20}}
/> />
)); ));
......
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