feat: Added rename option to file preview modal

This commit is contained in:
Aman Harwara
2023-01-18 14:51:22 +05:30
parent 7d7815917b
commit aa88966783
3 changed files with 88 additions and 21 deletions

View File

@@ -36,6 +36,7 @@ const DecoratedInput = forwardRef(
type = 'text',
title,
value,
defaultValue,
roundedFull,
}: DecoratedInputProps,
ref: Ref<HTMLInputElement>,
@@ -76,6 +77,7 @@ const DecoratedInput = forwardRef(
title={title}
type={type}
value={value}
defaultValue={defaultValue}
spellCheck={spellcheck}
/>

View File

@@ -22,5 +22,6 @@ export type DecoratedInputProps = {
title?: string
type?: React.HTMLInputTypeAttribute
value?: string
defaultValue?: string
roundedFull?: boolean
}