package com.meowarex.rlmobile.ui.screens.logs.components

import androidx.compose.foundation.layout.*
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.alpha
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import com.meowarex.rlmobile.R

@Composable
fun LogsNone(modifier: Modifier = Modifier) {
    Box(modifier = modifier) {
        Column(
            modifier = Modifier.align(Alignment.Center),
            verticalArrangement = Arrangement.spacedBy(4.dp),
            horizontalAlignment = Alignment.CenterHorizontally,
        ) {
            Icon(
                painter = painterResource(R.drawable.ic_reciept_off),
                contentDescription = null,
            )
            Text(
                text = stringResource(R.string.logs_none),
                style = MaterialTheme.typography.bodyLarge,
                modifier = Modifier.alpha(.8f),
            )
        }
    }
}
