File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Sources/ResponsiveTextField Expand file tree Collapse file tree 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 {
272272// MARK: - View Modifiers
273273
274274public extension View {
275+ /// Sets the keyboard return key type on any child `ResponsiveTextField` views.
275276 func responsiveKeyboardReturnType( _ returnType: UIReturnKeyType ) -> some View {
276277 environment ( \. keyboardReturnKeyType, returnType)
277278 }
278279
280+ /// Sets the text field font on any child `ResponsiveTextField` views.
279281 func responsiveTextFieldFont( _ font: UIFont ) -> some View {
280282 environment ( \. textFieldFont, font)
281283 }
282284
285+ /// Sets the text field text color on any child `ResponsiveTextField` views.
283286 func responsiveTextFieldTextColor( _ color: UIColor ) -> some View {
284287 environment ( \. textFieldTextColor, color)
285288 }
286289
290+ /// Sets the text field text alignment on any child `ResponsiveTextField` views.
287291 func responsiveTextFieldTextAlignment( _ alignment: NSTextAlignment ) -> some View {
288292 environment ( \. textFieldTextAlignment, alignment)
289293 }
You can’t perform that action at this time.
0 commit comments