package eu.gaudian.translator.view.hints

import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import eu.gaudian.translator.R

/**
 * Migrated AddModelScanHint using markdown-based format.
 * Content is loaded from localized assets/hints based on device locale.
 */
@Composable
fun getAddModelScanHint(): Hint {
    return Hint(
        titleRes = R.string.hint_scan_hint_title,
        elements = listOf(
            HintElement.LocalizedMarkdown("example_hint")
        )
    )
}

@Preview
@Composable
fun AddModelScanHintPreview() {
    getAddModelScanHint().Render()
}

@Composable
fun AddModelScanHint() {
    getAddModelScanHint().Render()
}
