Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ApplebaumIan committed Feb 4, 2021
1 parent a0e6558 commit 054b610
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,19 @@ import SwiftUI_Apple_Watch_Decimal_Pad
struct ContentView: View {
@State public var presentingModal: Bool
var body: some View {
DigiTextView(text: "Placeholer", presentingModal: presentingModal )
DigiTextView(placeholder: placeholder,
text: text,
presentingModal: presentingModal
)
}
}
```

If you would like to set the alignment of the text withing the Textfield:
```diff
DigiTextView(placeholder: placeholder,
text: text,
presentingModal: presentKeyboard,
+ alignment: .leading
)
```

0 comments on commit 054b610

Please sign in to comment.