Skip to content

Commit

Permalink
Merge pull request #249 from wrappid/WRPD-bugfix-248
Browse files Browse the repository at this point in the history
fix(global): 🐛 add valid props in CoreTextarea
  • Loading branch information
anantakumarghosh authored Jun 24, 2024
2 parents e9db417 + 485b4eb commit 5724e62
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions package/components/inputs/CoreTextarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,5 @@ export default function CoreTextarea(props) {
);
}

CoreTextarea.validProps = [
{
description: "Maximum number of rows to display.",
name : "maxrows",
types : [{ default: 6, type: "number" }]
},
{
description: "Minimum number of rows to display.",
name : "minrows",
types : [{ default: 3, type: "number" }]
},
{
name : "multiline",
types: [{ default: true, type: "boolean" }]
}
];
CoreTextarea.validProps = [...CoreInput.validProps];
CoreTextarea.invalidProps = [];

0 comments on commit 5724e62

Please sign in to comment.