mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update text area props
This commit is contained in:
@@ -17,6 +17,7 @@ type TextAreaProps = {
|
|||||||
errorMessage?: string;
|
errorMessage?: string;
|
||||||
value: string;
|
value: string;
|
||||||
label?: string;
|
label?: string;
|
||||||
|
name: string;
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
fullWidth?: boolean;
|
fullWidth?: boolean;
|
||||||
onChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
onChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
||||||
@@ -25,6 +26,7 @@ type TextAreaProps = {
|
|||||||
const TextArea = ({
|
const TextArea = ({
|
||||||
color = 'client',
|
color = 'client',
|
||||||
label,
|
label,
|
||||||
|
name,
|
||||||
placeholder,
|
placeholder,
|
||||||
value,
|
value,
|
||||||
onChange,
|
onChange,
|
||||||
@@ -50,6 +52,7 @@ const TextArea = ({
|
|||||||
<textarea
|
<textarea
|
||||||
rows={10}
|
rows={10}
|
||||||
value={value}
|
value={value}
|
||||||
|
name={name}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user