Skip to content

Commit 5c32f67

Browse files
authored
Deprecate WebElementView in favor of HtmlElementView (JetBrains#2641)
Add missing `@Deprecate` for WebElementView. Fixes [CMP-9313](https://youtrack.jetbrains.com/issue/CMP-9313) ## Testing N/A ## Release Notes ### Migration Notes - Web - `WebElementView` has been deprecated in favor of `HtmlElementView`
1 parent 88f5043 commit 5c32f67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compose/ui/ui/src/webMain/kotlin/androidx/compose/ui/viewinterop/InteropView.web.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ fun <T : HTMLElement> HtmlElementView(
8585
* containing [T] was reused. If null, [T] will not be reused, a new instance of [T] will be created
8686
* using [factory] every time this function enters the composition.
8787
*/
88+
@Deprecated("Use HtmlElementView instead", replaceWith = ReplaceWith("HtmlElementView(factory, modifier, update, onRelease, onReset)"))
8889
@ExperimentalComposeUiApi
8990
@Composable
9091
fun <T : HTMLElement> WebElementView(

0 commit comments

Comments
 (0)