Initial commit
(Multiplatform project template)
This commit is contained in:
7
composeApp/src/commonMain/kotlin/Greeting.kt
Normal file
7
composeApp/src/commonMain/kotlin/Greeting.kt
Normal file
@@ -0,0 +1,7 @@
|
||||
class Greeting {
|
||||
private val platform = getPlatform()
|
||||
|
||||
fun greet(): String {
|
||||
return "Hello, ${platform.name}!"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user