From 50553fb52974a869d53a8a81e5a4bae282986108 Mon Sep 17 00:00:00 2001 From: M0Coding Date: Fri, 17 Nov 2023 22:01:38 +0100 Subject: [PATCH] Add opt in --- .../richeditor/sample/common/slack/SlackDemoContent.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sample/common/src/commonMain/kotlin/com/mohamedrejeb/richeditor/sample/common/slack/SlackDemoContent.kt b/sample/common/src/commonMain/kotlin/com/mohamedrejeb/richeditor/sample/common/slack/SlackDemoContent.kt index 98ad1514..7517b6df 100644 --- a/sample/common/src/commonMain/kotlin/com/mohamedrejeb/richeditor/sample/common/slack/SlackDemoContent.kt +++ b/sample/common/src/commonMain/kotlin/com/mohamedrejeb/richeditor/sample/common/slack/SlackDemoContent.kt @@ -34,9 +34,11 @@ import com.mohamedrejeb.richeditor.sample.common.ui.theme.ComposeRichEditorTheme import com.mohamedrejeb.richeditor.ui.material3.RichText import com.mohamedrejeb.richeditor.ui.material3.RichTextEditor import com.mohamedrejeb.richeditor.ui.material3.RichTextEditorDefaults +import org.jetbrains.compose.resources.ExperimentalResourceApi import org.jetbrains.compose.resources.painterResource @OptIn(ExperimentalMaterial3Api::class, ExperimentalRichTextApi::class, ExperimentalLayoutApi::class, + ExperimentalResourceApi::class, ) @Composable fun SlackDemoContent() {