-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from AppQuality/counter-textarea
feat(textarea): add counter
- Loading branch information
Showing
7 changed files
with
17,727 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
export interface TextareaFieldProps { | ||
import { ReactNode } from "react"; | ||
|
||
export interface TextareaFieldProps extends GeneralComponentProps { | ||
name: string; | ||
label?: string; | ||
label?: ReactNode; | ||
className?: string; | ||
placeholder?: string; | ||
disabled?: boolean; | ||
resize?: "none" | "both" | "horizontal" | "vertical"; | ||
height?: string; | ||
autoResize?: boolean; | ||
counterMax?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
interface GeneralComponentProps { | ||
id?: string; | ||
className?: string; | ||
key?: string; | ||
"data-testid"?: string; | ||
"data-qa"?: string; | ||
style?: React.CSSProperties; | ||
children?: React.ReactNode; | ||
} |
Oops, something went wrong.