Skip to content

Commit

Permalink
Removed public modifiers from config protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
bring-shrubbery committed Jul 15, 2021
1 parent d23363d commit 56bee29
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Sources/SwiftUITooltip/TooltipConfigurations/TooltipConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@ import SwiftUI
public protocol TooltipConfig {
// MARK: - Alignment

public var side: TooltipSide { get set }
public var margin: CGFloat { get set }
var side: TooltipSide { get set }
var margin: CGFloat { get set }

// MARK: - Tooltip container

public var borderRadius: CGFloat { get set }
public var borderWidth: CGFloat { get set }
public var borderColor: Color { get set }
var borderRadius: CGFloat { get set }
var borderWidth: CGFloat { get set }
var borderColor: Color { get set }

// MARK: - Margins and paddings

public var contentPaddingLeft: CGFloat { get set }
public var contentPaddingRight: CGFloat { get set }
public var contentPaddingTop: CGFloat { get set }
public var contentPaddingBottom: CGFloat { get set }
var contentPaddingLeft: CGFloat { get set }
var contentPaddingRight: CGFloat { get set }
var contentPaddingTop: CGFloat { get set }
var contentPaddingBottom: CGFloat { get set }

public var contentPaddingEdgeInsets: EdgeInsets { get }
var contentPaddingEdgeInsets: EdgeInsets { get }

// MARK: - Tooltip arrow

public var showArrow: Bool { get set }
public var arrowWidth: CGFloat { get set }
public var arrowHeight: CGFloat { get set }
var showArrow: Bool { get set }
var arrowWidth: CGFloat { get set }
var arrowHeight: CGFloat { get set }

// MARK: - Animation settings
public var enableAnimation: Bool { get set }
public var animationOffset: CGFloat { get set }
public var animationTime: Double { get set }
var enableAnimation: Bool { get set }
var animationOffset: CGFloat { get set }
var animationTime: Double { get set }
}

0 comments on commit 56bee29

Please sign in to comment.