From aa73c05565636df4a25e27c99d881cc6e275eb56 Mon Sep 17 00:00:00 2001 From: KrLite Date: Tue, 17 Dec 2024 17:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20Make=20them=20public?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Luminare/Components/Compose/LuminareButtonCompose.swift | 4 ++-- .../Luminare/Components/Compose/LuminareToggleCompose.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/Luminare/Components/Compose/LuminareButtonCompose.swift b/Sources/Luminare/Components/Compose/LuminareButtonCompose.swift index 70a82e9..676bbfc 100644 --- a/Sources/Luminare/Components/Compose/LuminareButtonCompose.swift +++ b/Sources/Luminare/Components/Compose/LuminareButtonCompose.swift @@ -9,7 +9,7 @@ import SwiftUI // MARK: - Button Compose -struct LuminareButtonCompose: View where Label: View, Content: View { +public struct LuminareButtonCompose: View where Label: View, Content: View { // MARK: Fields private let role: ButtonRole? @@ -83,7 +83,7 @@ struct LuminareButtonCompose: View where Label: View, Content: V // MARK: Body - var body: some View { + public var body: some View { LuminareCompose(contentMaxWidth: nil) { Button(role: role) { action() diff --git a/Sources/Luminare/Components/Compose/LuminareToggleCompose.swift b/Sources/Luminare/Components/Compose/LuminareToggleCompose.swift index 56b3055..a0e4b63 100644 --- a/Sources/Luminare/Components/Compose/LuminareToggleCompose.swift +++ b/Sources/Luminare/Components/Compose/LuminareToggleCompose.swift @@ -9,7 +9,7 @@ import SwiftUI // MARK: - Toggle Compose -struct LuminareToggleCompose