Skip to content

Commit

Permalink
🚑️ Make them public
Browse files Browse the repository at this point in the history
  • Loading branch information
KrLite committed Dec 17, 2024
1 parent 3f58c59 commit aa73c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SwiftUI

// MARK: - Button Compose

struct LuminareButtonCompose<Label, Content>: View where Label: View, Content: View {
public struct LuminareButtonCompose<Label, Content>: View where Label: View, Content: View {
// MARK: Fields

private let role: ButtonRole?
Expand Down Expand Up @@ -83,7 +83,7 @@ struct LuminareButtonCompose<Label, Content>: View where Label: View, Content: V

// MARK: Body

var body: some View {
public var body: some View {
LuminareCompose(contentMaxWidth: nil) {
Button(role: role) {
action()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SwiftUI

// MARK: - Toggle Compose

struct LuminareToggleCompose<Label>: View where Label: View {
public struct LuminareToggleCompose<Label>: View where Label: View {
// MARK: Environments

@Environment(\.luminareComposeControlSize) private var controlSize
Expand Down Expand Up @@ -40,7 +40,7 @@ struct LuminareToggleCompose<Label>: View where Label: View {

// MARK: Body

var body: some View {
public var body: some View {
LuminareCompose(contentMaxWidth: nil) {
Toggle("", isOn: $value)
.labelsHidden()
Expand Down

0 comments on commit aa73c05

Please sign in to comment.