From df9d385b6876ba383e6bf382e80a41ca28e17822 Mon Sep 17 00:00:00 2001 From: Juan Edi Date: Tue, 10 Dec 2024 14:28:29 -0300 Subject: [PATCH] update generated snippet in example page --- component-catalog/src/Examples/Switch.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component-catalog/src/Examples/Switch.elm b/component-catalog/src/Examples/Switch.elm index 24dd25b5f..bc79ecfaf 100644 --- a/component-catalog/src/Examples/Switch.elm +++ b/component-catalog/src/Examples/Switch.elm @@ -80,7 +80,7 @@ example = , code = Code.fromModule moduleName "view" ++ Code.recordMultiline - [ ( "label", Code.string label ) + [ ( "label", Code.apply [ Code.fromModule "Html" "text", Code.string label ] ) , ( "id", Code.string "view-switch-example" ) ] 1