Commit 307b4245 by tungnq

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

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