You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package me.sample.app
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.Column
|
|
|
|
import androidx.compose.material3.Text
|
|
|
|
import androidx.compose.runtime.Composable
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
import me.sample.library.MyLibraryIcon
|
|
|
|
import me.sample.library.MyLibraryText
|
|
|
|
import kmpresourcepublication.appmodule.generated.resources.*
|
|
|
|
import org.jetbrains.compose.resources.stringResource
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
fun App() {
|
|
|
|
Column {
|
|
|
|
val txt = "text: "
|
|
|
|
Text(txt + stringResource(Res.string.str_1))
|
|
|
|
MyFeatureText(txt = txt)
|
|
|
|
MyLibraryText(txt = txt)
|
|
|
|
MyLibraryIcon(Modifier)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
expect fun getPlatformSpecificString(): String
|