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 -} {- Make a button fill the full width -}
Widget.textButton Widget.textButton
( Material.containedButton (Material.containedButton Material.defaultPalette
|> Customize.element [Element.width Element.fill] |> Customize.elementButton [ Element.width Element.fill ]
) )
{ onPress = Just PressedButton { onPress = Just PressedButton
, text = "Press Button" , text = "Press Button"