lavoce #42
@@ -181,40 +181,9 @@ const ListErrorCode = ({
|
||||
}
|
||||
};
|
||||
|
||||
const handleAddNew = () => {
|
||||
if (onAddNew) {
|
||||
onAddNew();
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<Card
|
||||
title={
|
||||
<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>
|
||||
}
|
||||
title="Daftar Error Code"
|
||||
style={{ width: '100%', minWidth: '300px' }}
|
||||
bodyStyle={{ padding: '12px' }}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user