File tree 3 files changed +3
-8
lines changed
quo/components/inputs/input
status_im/contexts/profile/contact/contact_request
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 57
57
" Custom properties that must be removed from properties map passed to InputText."
58
58
[:type :blur? :error? :right-icon :left-icon :disabled? :small? :button
59
59
:label :char-limit :on-char-limit-reach :icon-name :multiline? :on-focus :on-blur
60
- :container-style :input-container-style :input-style : ref ])
60
+ :container-style :input-container-style :ref ])
61
61
62
62
(defn- base-input
63
63
[{:keys [blur? error? right-icon left-icon disabled? small? button
64
64
label char-limit multiline? clearable? on-focus on-blur container-style input-container-style
65
- input-style on-change-text on-char-limit-reach weight default-value on-clear]
65
+ on-change-text on-char-limit-reach weight default-value on-clear]
66
66
:as props}]
67
67
(let [theme (quo.theme/use-theme-value )
68
68
ref (rn/use-ref-atom nil )
124
124
:icon-name icon-name}])
125
125
[rn/text-input
126
126
(cond-> {:ref on-ref
127
- :style (merge
128
- (style/input colors-by-status small? multiple-lines? weight)
129
- input-style)
127
+ :style (style/input colors-by-status small? multiple-lines? weight)
130
128
:accessibility-label :input
131
129
:placeholder-text-color (:placeholder colors-by-status)
132
130
:keyboard-appearance (quo.theme/theme-value :light :dark theme)
Original file line number Diff line number Diff line change 8
8
(def message-input-wrapper
9
9
{:padding-vertical 8
10
10
:flex-shrink 1
11
- :flex-direction :column
12
11
:padding-horizontal 20 })
Original file line number Diff line number Diff line change 60
60
:accessibility-label :contact-request-message
61
61
:label (i18n/label :t/message )
62
62
:on-change-text on-message-change
63
- :input-style {:flex 1
64
- :min-height " 100%" }
65
63
:container-style {:flex-shrink 1 }
66
64
:input-container-style {:flex-shrink 1 }}]]
67
65
[rn/view {:style {:flex 1 }}
You can’t perform that action at this time.
0 commit comments