Jetpack Compose String to DP

fun String.toDp(): Dp {
    return Dp(this.toFloat())
}
Tender Turtle