= {
title: {
dataIndex: 'name',
render(_, item) {
return (
{item.name}
);
},
},
avatar: {
render: (_, item) => getBadgeLevel(item.level),
},
description: {
dataIndex: 'time',
render: (_, item) => {
return (
<>
{moment.unix(item?.t).format(DATE_TIME_FORMAT)}
>
);
},
},
};
return (
<>
bordered
actionRef={actionRef}
metas={columns}
polling={DURATION_POLLING_PRESENTATIONS}
loading={isLoading}
dataSource={alarmList}
search={false}
dateFormatter="string"
cardProps={{
bodyStyle: { paddingInline: 16, paddingBlock: 8 },
}}
/>
>
);
};