fixes for build

This commit is contained in:
2022-11-16 00:17:03 +06:00
parent 17ae0b119b
commit 0c281aa653
2 changed files with 58 additions and 56 deletions

View File

@@ -9,7 +9,7 @@ import org.jetbrains.compose.web.dom.Input
import org.w3c.dom.HTMLInputElement
@Composable
fun <T> StandardInput(
fun <T> DefaultInput(
type: InputType<T>,
value: T,
disabled: Boolean = false,
@@ -49,7 +49,7 @@ fun <T> StandardInput(
placeholder: String? = null,
vararg modifiers: UIKitModifier,
attributesCustomizer: AttrBuilderContext<HTMLInputElement> = {},
) = StandardInput(
) = DefaultInput(
type,
state.value,
disabledState ?.value == true,