Skip to content

Commit 33c42ec

Browse files
authored
fix: add types to filename and description (#993)
1 parent 578f008 commit 33c42ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react/src/views/AttachmentPreview/AttachmentPreview.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,13 @@ const AttachmentPreview = () => {
127127
`}
128128
>
129129
File name
130-
</Box>
130+
</Box>
131131
<Input
132132
onChange={(e) => {
133133
handleFileName(e);
134134
}}
135135
value={fileName}
136+
type="text"
136137
css={styles.input}
137138
placeholder="name"
138139
/>
@@ -170,8 +171,10 @@ const AttachmentPreview = () => {
170171
onChange={(e) => {
171172
handleFileDescription(e);
172173
}}
174+
type="text"
173175
css={styles.input}
174176
placeholder="Description"
177+
value={description}
175178
ref={messageRef}
176179
/>
177180
</Box>

0 commit comments

Comments
 (0)