mirror of https://github.com/jetkvm/kvm.git
fix(ui): update InputFieldProps to allow ReactNode for description
This commit is contained in:
parent
041f42a792
commit
61b99f07ce
|
@ -26,7 +26,7 @@ type InputFieldProps = {
|
||||||
|
|
||||||
type InputFieldWithLabelProps = InputFieldProps & {
|
type InputFieldWithLabelProps = InputFieldProps & {
|
||||||
label: React.ReactNode;
|
label: React.ReactNode;
|
||||||
description?: string | null;
|
description?: React.ReactNode | string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function InputField(
|
const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function InputField(
|
||||||
|
|
Loading…
Reference in New Issue