0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00

Fixed ResizeOptions type case

refs https://github.com/TryGhost/Team/issues/3328
This commit is contained in:
Djordje Vlaisavljevic 2023-05-30 10:43:45 +01:00
parent ced0a3e792
commit 01de9f57e2

View file

@ -3,7 +3,7 @@ import React from 'react';
import Heading from './Heading';
import Hint from './Hint';
type resizeOptions = 'both' | 'vertical' | 'horizontal' | 'none';
type ResizeOptions = 'both' | 'vertical' | 'horizontal' | 'none';
interface TextAreaProps {
inputRef?: React.RefObject<HTMLTextAreaElement>;
@ -11,7 +11,7 @@ interface TextAreaProps {
value?: string;
rows?: number;
maxLength?: number;
resize?: resizeOptions;
resize?: ResizeOptions;
error?: boolean;
placeholder?: string;
hint?: React.ReactNode;