File tree 1 file changed +4
-0
lines changed
Sources/ResponsiveTextField
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -272,18 +272,22 @@ public extension ResponsiveTextField.Configuration {
272
272
// MARK: - View Modifiers
273
273
274
274
public extension View {
275
+ /// Sets the keyboard return key type on any child `ResponsiveTextField` views.
275
276
func responsiveKeyboardReturnType( _ returnType: UIReturnKeyType ) -> some View {
276
277
environment ( \. keyboardReturnKeyType, returnType)
277
278
}
278
279
280
+ /// Sets the text field font on any child `ResponsiveTextField` views.
279
281
func responsiveTextFieldFont( _ font: UIFont ) -> some View {
280
282
environment ( \. textFieldFont, font)
281
283
}
282
284
285
+ /// Sets the text field text color on any child `ResponsiveTextField` views.
283
286
func responsiveTextFieldTextColor( _ color: UIColor ) -> some View {
284
287
environment ( \. textFieldTextColor, color)
285
288
}
286
289
290
+ /// Sets the text field text alignment on any child `ResponsiveTextField` views.
287
291
func responsiveTextFieldTextAlignment( _ alignment: NSTextAlignment ) -> some View {
288
292
environment ( \. textFieldTextAlignment, alignment)
289
293
}
You can’t perform that action at this time.
0 commit comments