Merge pull request #92 from axelbdt/master

Update doc code snippet for Customize
This commit is contained in:
Orasund 2023-01-02 20:23:53 +01:00 committed by GitHub
commit 283f87c647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"