export interface LeaveListDataTypeInterface extends LeaveFormDataInterface {
    key: React.Key
}
export interface LeaveListInterface {
    LeaveList: LeaveListDataTypeInterface[]
    LeaveListCount: number
}
export interface LeaveFormDataInterface {
    leaveTypeId: string
    leaveType: string
    activeStatus: string
}

export interface LeaveFormInterface {
    onSave: (data: LeaveFormDataInterface, callBack: CallableFunction) => void
    editData: LeaveFormDataInterface
    isLoadingModal: boolean
}

export interface LeavePayloadInterface {
    data: LeaveFormDataInterface[]
    noOfRecords: number
}
