diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-15 10:03:33 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-15 10:03:33 +0100 |
commit | 7281197838986467880d88d265de5c003efc8b6b (patch) | |
tree | 70e95709ab2c8c5a078e71f98930e3da7d866353 /src/components/ui.tsx | |
parent | 9c355c7de88bcbfb62558d3665d9a3a2c8a97b6f (diff) |
register werks
Diffstat (limited to 'src/components/ui.tsx')
-rw-r--r-- | src/components/ui.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ui.tsx b/src/components/ui.tsx index 29f77ff..c2ce35e 100644 --- a/src/components/ui.tsx +++ b/src/components/ui.tsx @@ -57,9 +57,10 @@ export function Button(props: { export function Input(props: { label?: string, style?: CSSProperties, - type?: string + type?: string, + id?: string }) { - return <input type={props.type || "text"} placeholder={props.label} spellCheck={false} style={{ + return <input id={props.id} type={props.type || "text"} placeholder={props.label} spellCheck={false} style={{ padding: 12, border: 0, width: "calc(100% - 24px)", |