Skip to content

Commit 52710b1

Browse files
committed
conform Elevation to Equatable
1 parent 82e91cf commit 52710b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/YCoreUI/Foundations/Elevation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import UIKit
1313
/// This data structure is designed to closely match how shadows are exported from Figma
1414
/// and also how they are specified for web/CSS.
1515
/// cf. https://www.w3.org/TR/css-backgrounds-3/#box-shadow
16-
public struct Elevation {
16+
public struct Elevation: Equatable {
1717
/// Specifies the horizontal offset of the shadow.
1818
///
1919
/// A positive value draws a shadow that is offset to the right of the box, a negative length to the left.

0 commit comments

Comments
 (0)