Update doc code snippetfor Customize

This commit is contained in:
Axel Baudot 2023-01-02 19:53:40 +01:00
parent 25089f6365
commit 3c17c6a8f8

View File

@ -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"