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:
parent
ced0a3e792
commit
01de9f57e2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue