diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-09 19:45:47 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-09 19:45:47 +0100 |
commit | e4b7c38451efef544f1ed639fc0d9e3597a920a0 (patch) | |
tree | 4f94a47a18944806f8dcc6ccb30d29296ac223af /components | |
parent | 57b098efd90b72c854582de9d7dafdc40506d5a9 (diff) |
user page date + async stuffings
Diffstat (limited to 'components')
-rw-r--r-- | components/ui.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/ui.tsx b/components/ui.tsx index e395a47..5717928 100644 --- a/components/ui.tsx +++ b/components/ui.tsx @@ -105,6 +105,7 @@ export function Input(props: { value?: string|number; dark?: boolean; autocomplete?: string; + autofocus?: boolean; }) { return <input id={props.id} @@ -115,6 +116,7 @@ export function Input(props: { defaultValue={props.value ? String(props.value) : ""} className={props.dark ? "dark" : "light"} autoComplete={props.autocomplete} + autoFocus={props.autofocus} style={{ padding: 12, border: 0, |