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 83
83
/// matches a particular case.
84
84
///
85
85
/// - 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`.
87
88
/// - fromLocalAction: A function that can embed a case action in a switch store action.
88
89
/// - content: A function that is given a store of the given case's state and returns a view
89
90
/// that is visible only when the switch store's state matches.
@@ -114,7 +115,8 @@ extension CaseLet where GlobalAction == LocalAction {
114
115
/// matches a particular case.
115
116
///
116
117
/// - 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`.
118
120
/// - content: A function that is given a store of the given case's state and returns a view
119
121
/// that is visible only when the switch store's state matches.
120
122
public init (
You can’t perform that action at this time.
0 commit comments