Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Yura Reutskiy committed Oct 3, 2024
1 parent 9dbdc6d commit 33a8092
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public struct BPKAppSearchModal: View {
let inputPrefix: BPKSearchInputSummary.InputPrefix
let clearAction: BPKSearchInputSummary.ClearAction
let inputHint: String
let readOnly: Bool
let results: BPKAppSearchModalResults
let closeAccessibilityLabel: String
let onClose: () -> Void
Expand All @@ -35,6 +36,7 @@ public struct BPKAppSearchModal: View {
inputHint: String,
results: BPKAppSearchModalResults,
closeAccessibilityLabel: String,
readOnly: Bool = false,
inputPrefix: BPKSearchInputSummary.InputPrefix = .icon(.search),
clearAction: BPKSearchInputSummary.ClearAction,
onClose: @escaping () -> Void
Expand All @@ -44,6 +46,7 @@ public struct BPKAppSearchModal: View {
self.inputHint = inputHint
self.results = results
self.closeAccessibilityLabel = closeAccessibilityLabel
self.readOnly = readOnly
self.inputPrefix = inputPrefix
self.clearAction = clearAction
self.onClose = onClose
Expand Down Expand Up @@ -79,6 +82,7 @@ public struct BPKAppSearchModal: View {
placeholder: inputHint,
inputPrefix: inputPrefix,
clearAction: clearAction,
readOnly: readOnly,
$inputText
)
.focused($inputFieldIsFocussed)
Expand Down

0 comments on commit 33a8092

Please sign in to comment.