Shows used and remaining leave days.
kor/ui/LeaveBalanceSource
kor/ui/LeaveBalance
Loading the example
<k:Stack direction="grid" columns="2" gap="14"> <k:LeaveBalance title="Annual leave" total="20" used="8" planned="3" pending="2" expires="5 days expire on 31 Dec"/> <k:LeaveBalance title="Sick leave" icon="stethoscope" total="10" used="1.5"/> </k:Stack>
title
string
icon
palmtree
total
float
0
used
planned
pending
expires
press
getRemaining(): number
ShiftRosterProgress