File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Sources/ComposableArchitecture/SwiftUI Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8383 /// matches a particular case.
8484 ///
8585 /// - Parameters:
86- /// - toLocalState: A case path that can extract a case of switch store state.
86+ /// - toLocalState: A function that can extract a case of switch store state, which can be
87+ /// specified using case path literal syntax, _e.g._ `/State.case`.
8788 /// - fromLocalAction: A function that can embed a case action in a switch store action.
8889 /// - content: A function that is given a store of the given case's state and returns a view
8990 /// that is visible only when the switch store's state matches.
@@ -114,7 +115,8 @@ extension CaseLet where GlobalAction == LocalAction {
114115 /// matches a particular case.
115116 ///
116117 /// - Parameters:
117- /// - toLocalState: A case path that can extract a case of switch store state.
118+ /// - toLocalState: A function that can extract a case of switch store state, which can be
119+ /// specified using case path literal syntax, _e.g._ `/State.case`.
118120 /// - content: A function that is given a store of the given case's state and returns a view
119121 /// that is visible only when the switch store's state matches.
120122 public init (
You can’t perform that action at this time.
0 commit comments