From 3c17c6a8f8040c5df6e59e59879ee9e1dbefc07a Mon Sep 17 00:00:00 2001 From: Axel Baudot Date: Mon, 2 Jan 2023 19:53:40 +0100 Subject: [PATCH] Update doc code snippetfor Customize --- src/Widget/Customize.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Widget/Customize.elm b/src/Widget/Customize.elm index 62c9ed4..1d65543 100644 --- a/src/Widget/Customize.elm +++ b/src/Widget/Customize.elm @@ -20,8 +20,8 @@ module Widget.Customize exposing {- Make a button fill the full width -} Widget.textButton - ( Material.containedButton - |> Customize.element [Element.width Element.fill] + (Material.containedButton Material.defaultPalette + |> Customize.elementButton [ Element.width Element.fill ] ) { onPress = Just PressedButton , text = "Press Button"