Fix Themes Tab
This commit is contained in:
parent
8ad710abca
commit
d8a5e43034
@ -117,7 +117,7 @@ export default ErrorBoundary.wrap(function () {
|
|||||||
<Forms.FormTitle tag="h5">Themes</Forms.FormTitle>
|
<Forms.FormTitle tag="h5">Themes</Forms.FormTitle>
|
||||||
<TextArea
|
<TextArea
|
||||||
value={themeText}
|
value={themeText}
|
||||||
onChange={e => setThemeText(e.currentTarget.value)}
|
onChange={setThemeText}
|
||||||
className={`${TextAreaProps.textarea} vc-settings-theme-links`}
|
className={`${TextAreaProps.textarea} vc-settings-theme-links`}
|
||||||
placeholder="Theme Links"
|
placeholder="Theme Links"
|
||||||
spellCheck={false}
|
spellCheck={false}
|
||||||
|
4
src/webpack/common/types/components.d.ts
vendored
4
src/webpack/common/types/components.d.ts
vendored
@ -186,7 +186,9 @@ export type TextInput = ComponentType<PropsWithChildren<{
|
|||||||
Sizes: Record<"DEFAULT" | "MINI", string>;
|
Sizes: Record<"DEFAULT" | "MINI", string>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TextArea = ComponentType<PropsWithRef<HTMLProps<HTMLTextAreaElement>>>;
|
export type TextArea = ComponentType<PropsWithRef<Omit<HTMLProps<HTMLTextAreaElement>, "onChange"> & {
|
||||||
|
onChange(v: string): void;
|
||||||
|
}>>;
|
||||||
|
|
||||||
interface SelectOption {
|
interface SelectOption {
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user