aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/basicAuth/Form.ts
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-09-18 11:15:25 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-18 11:15:25 +0200
commitd4101a48b3eee8b1fb177831aa02a4b4fbec2588 (patch)
treec92f2fbe91197fde8589207463d0d6526b4ff76b /src/features/basicAuth/Form.ts
parent5.6.3-nightly.6 [skip ci] (diff)
downloadferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.gz
ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.zst
ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.zip
chore: convert various files from JS to TS (#1959)
Diffstat (limited to 'src/features/basicAuth/Form.ts')
-rw-r--r--src/features/basicAuth/Form.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/features/basicAuth/Form.ts b/src/features/basicAuth/Form.ts
new file mode 100644
index 000000000..95721d0e9
--- /dev/null
+++ b/src/features/basicAuth/Form.ts
@@ -0,0 +1,17 @@
1import Form from '../../lib/Form';
2
3export default new Form({
4 fields: {
5 user: {
6 label: 'user',
7 placeholder: 'Username',
8 value: '',
9 },
10 password: {
11 label: 'Password',
12 placeholder: 'Password',
13 value: '',
14 type: 'password',
15 },
16 },
17});