lavoce #42

Merged
bragaz_rexita merged 18 commits from lavoce into main 2026-04-10 05:35:38 +00:00
Showing only changes of commit 10824d4207 - Show all commits

View File

@@ -181,40 +181,9 @@ const ListErrorCode = ({
} }
}; };
const handleAddNew = () => {
if (onAddNew) {
onAddNew();
}
};
return ( return (
<Card <Card
title={ title="Daftar Error Code"
<div
style={{
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
}}
>
<span>Daftar Error Code</span>
<Button
icon={<PlusOutlined />}
onClick={handleAddNew}
size="medium"
type="default"
style={{
color: '#23A55A',
borderColor: '#23A55A',
fontWeight: '500',
borderRadius: '6px',
padding: '0 16px',
}}
>
Add Data
</Button>
</div>
}
style={{ width: '100%', minWidth: '300px' }} style={{ width: '100%', minWidth: '300px' }}
bodyStyle={{ padding: '12px' }} bodyStyle={{ padding: '12px' }}
> >