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 @@ -80,7 +80,8 @@ where Content: View {
8080 /// matches a particular case.
8181 ///
8282 /// - Parameters:
83- /// - toLocalState: A case path that can extract a case of switch store state.
83+ /// - toLocalState: A function that can extract a case of switch store state, which can be
84+ /// specified using case path literal syntax, _e.g._ `/State.case`.
8485 /// - fromLocalAction: A function that can embed a case action in a switch store action.
8586 /// - content: A function that is given a store of the given case's state and returns a view
8687 /// that is visible only when the switch store's state matches.
@@ -110,7 +111,8 @@ extension CaseLet where GlobalAction == LocalAction {
110111 /// matches a particular case.
111112 ///
112113 /// - Parameters:
113- /// - toLocalState: A case path that can extract a case of switch store state.
114+ /// - toLocalState: A function that can extract a case of switch store state, which can be
115+ /// specified using case path literal syntax, _e.g._ `/State.case`.
114116 /// - content: A function that is given a store of the given case's state and returns a view
115117 /// that is visible only when the switch store's state matches.
116118 public init (
You can’t perform that action at this time.
0 commit comments