From 9cc412208cb78afe39ed97d3d361403504e7d74c Mon Sep 17 00:00:00 2001 From: Nikita Semenov Date: Tue, 14 Mar 2023 16:20:18 +0300 Subject: [PATCH] docs: updated documentation for skeletons --- .../Pages/Skeletons.xcplaygroundpage/Contents.swift | 2 +- docs/tiuielements/skeletons.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TIUIElements/TIUIElements.app/Contents/MacOS/TIUIElements.playground/Pages/Skeletons.xcplaygroundpage/Contents.swift b/TIUIElements/TIUIElements.app/Contents/MacOS/TIUIElements.playground/Pages/Skeletons.xcplaygroundpage/Contents.swift index b8d42bfe..bd63e083 100644 --- a/TIUIElements/TIUIElements.app/Contents/MacOS/TIUIElements.playground/Pages/Skeletons.xcplaygroundpage/Contents.swift +++ b/TIUIElements/TIUIElements.app/Contents/MacOS/TIUIElements.playground/Pages/Skeletons.xcplaygroundpage/Contents.swift @@ -80,7 +80,7 @@ class CanShowAndHideSkeletons: BaseInitializableViewController { $0.textAttributes = textAttributes }) - button.configureUIButton(appearance: UILabel.DefaultAppearance.make { + button.configureUIButton(appearance: UIButton.DefaultAppearance.make { $0.textAttributes = textAttributes }) } diff --git a/docs/tiuielements/skeletons.md b/docs/tiuielements/skeletons.md index 13e66248..945c849a 100644 --- a/docs/tiuielements/skeletons.md +++ b/docs/tiuielements/skeletons.md @@ -81,7 +81,7 @@ class CanShowAndHideSkeletons: BaseInitializableViewController { $0.textAttributes = textAttributes }) - button.configureUIButton(appearance: UILabel.DefaultAppearance.make { + button.configureUIButton(appearance: UIButton.DefaultAppearance.make { $0.textAttributes = textAttributes }) }