@@ -15,6 +15,10 @@ import org.w3c.dom.HTMLDivElement
1515
1616// try to follow names in Android Jetpack Compose
1717
18+ // TODO: remove these deprecated functions
19+
20+ const val WITH_STYLES_DEPRECATED_MESSAGE = " The functions with `withStyles` suffixes are deprecated."
21+
1822@Composable
1923fun Flexbox (
2024 attrs : AttrBuilderContext <HTMLDivElement >? = null,
@@ -27,7 +31,8 @@ fun Flexbox(
2731 } + attrs, content)
2832
2933@Composable
30- fun Flexbox (styles : Styles ? = null, content : ContentBuilder <HTMLDivElement >) =
34+ @Deprecated(WITH_STYLES_DEPRECATED_MESSAGE )
35+ fun FlexboxS (styles : Styles ? = null, content : ContentBuilder <HTMLDivElement >) =
3136 Flexbox (styles.wrapInAttrs(), content)
3237
3338@Composable
@@ -44,7 +49,8 @@ fun Column(
4449 } + attrs, content)
4550
4651@Composable
47- fun Column (styles : Styles ? = null, fitContent : Boolean = true, content : ContentBuilder <HTMLDivElement >) =
52+ @Deprecated(WITH_STYLES_DEPRECATED_MESSAGE )
53+ fun ColumnS (styles : Styles ? = null, fitContent : Boolean = true, content : ContentBuilder <HTMLDivElement >) =
4854 Column (styles.wrapInAttrs(), fitContent, content)
4955
5056@Composable
@@ -72,7 +78,8 @@ fun Row(
7278 } + attrs, content)
7379
7480@Composable
75- fun Row (
81+ @Deprecated(WITH_STYLES_DEPRECATED_MESSAGE )
82+ fun RowS (
7683 styles : Styles ? = null,
7784 content : ContentBuilder <HTMLDivElement >
7885) =
0 commit comments