package eu.gaudian.translator.view.hints

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

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

@Preview
@Composable
fun DictionaryOptionsHint() {
    getDictionaryOptionsHint().Render()
}
