diff --git a/README.md b/README.md
index b421aaf9..b0d41401 100644
--- a/README.md
+++ b/README.md
@@ -351,6 +351,7 @@ inputReferance = React.createRef()
referance={inputReferance}
placeholder='Type here...'
multiline={true}
+ value={inputValue}
rightButtons={}
/>
@@ -383,7 +384,7 @@ inputClear()
| maxlength | none | int | input or textarea maxlength |
| onMaxLengthExceed | none | function | called when max length exceed |
| autofocus | false | bool | input autofocus |
-
+| value | none | string | input value |
## Button Component
```javascript
diff --git a/src/Input/Input.tsx b/src/Input/Input.tsx
index e23a1964..0b604a9c 100644
--- a/src/Input/Input.tsx
+++ b/src/Input/Input.tsx
@@ -82,6 +82,7 @@ const Input: React.FC = ({
onKeyDown={props.onKeyDown}
onKeyPress={props.onKeyPress}
onKeyUp={props.onKeyUp}
+ value={props.value}
/>
) : (
+ >{props?.value ?? ""}
)}
{props.rightButtons && {props.rightButtons}
}
diff --git a/src/type.d.ts b/src/type.d.ts
index 3037aeae..5a9dc4a4 100644
--- a/src/type.d.ts
+++ b/src/type.d.ts
@@ -799,6 +799,7 @@ export interface IInputProps {
placeholder?: string
defaultValue?: string
inputStyle?: Object
+ value?: string
onCopy?: React.ClipboardEventHandler
onCut?: React.ClipboardEventHandler
onPaste?: React.ClipboardEventHandler