refactor(FE): Refactor PdfStatusBadge to use a single style prop

This commit is contained in:
rstubryan
2026-02-10 14:04:44 +07:00
parent 5cc51c52d9
commit 4c6ac6e8e1
3 changed files with 20 additions and 12 deletions
@@ -144,9 +144,11 @@ const getTableData = (
value: item.expedition ? (
<View style={{ alignItems: 'center' }}>
<PdfStatusBadge
backgroundColor='#DBEAFE'
textColor='#1E40AF'
borderColor='#60A5FA'
style={{
backgroundColor: '#DBEAFE',
color: '#1E40AF',
borderColor: '#60A5FA',
}}
>
{item.expedition}
</PdfStatusBadge>