diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/input/InputLabel.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/input/InputLabel.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/input/InputLabel.tsx b/packages/taler-wallet-webextension/src/mui/input/InputLabel.tsx index 6d6aae4f3..4b51915e1 100644 --- a/packages/taler-wallet-webextension/src/mui/input/InputLabel.tsx +++ b/packages/taler-wallet-webextension/src/mui/input/InputLabel.tsx @@ -1,5 +1,5 @@ import { css } from "@linaria/core"; -import { ComponentChildren, h } from "preact"; +import { ComponentChildren, h, VNode } from "preact"; // eslint-disable-next-line import/extensions import { Colors, theme } from "../style"; import { useFormControl } from "./FormControl.js"; @@ -83,7 +83,7 @@ interface InputLabelProps { variant: "filled" | "outlined" | "standard"; children: ComponentChildren; } -export function InputLabel(props: Partial<InputLabelProps>) { +export function InputLabel(props: Partial<InputLabelProps>): VNode { const fcs = useFormControl(props); return ( <FormLabel |