From 6243055e2ae7afcb7f0db8afc424bd9c8bb1c7eb Mon Sep 17 00:00:00 2001 From: Kerr Marin Miller Date: Thu, 7 Mar 2024 16:21:50 +0100 Subject: [PATCH] ISC-0: Make the stylable group public --- StylableSwiftUI/Classes/Core/StylableGroup.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/StylableSwiftUI/Classes/Core/StylableGroup.swift b/StylableSwiftUI/Classes/Core/StylableGroup.swift index 961fd88..bb2b2bb 100644 --- a/StylableSwiftUI/Classes/Core/StylableGroup.swift +++ b/StylableSwiftUI/Classes/Core/StylableGroup.swift @@ -9,7 +9,9 @@ struct CurrentStylableGroupKey: EnvironmentKey { static let defaultValue: StylistIdentifier.Path? = nil } -extension EnvironmentValues { +public extension EnvironmentValues { + + /// The current stylable group in the environment var currentStylableGroup: StylistIdentifier.Path? { get { return self[CurrentStylableGroupKey.self]