Skip to content

Commit

Permalink
feat: textInput component
Browse files Browse the repository at this point in the history
  • Loading branch information
mogusbi-motech committed Feb 24, 2023
1 parent 89610a7 commit dc7ed3d
Show file tree
Hide file tree
Showing 9 changed files with 1,962 additions and 218 deletions.
13 changes: 12 additions & 1 deletion packages/project-tailwind/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
{
"extends": "@motech-development/eslint-config-motech-react"
"extends": "@motech-development/eslint-config-motech-react",
"rules": {
"jsx-a11y/label-has-associated-control": [
2,
{
"labelComponents": ["Label"],
"labelAttributes": ["label"],
"controlComponents": ["TextInput"],
"depth": 3
}
]
}
}
2 changes: 2 additions & 0 deletions packages/project-tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"clsx": "1.2.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-number-format": "5.1.3",
"react-polymorphic-box": "3.0.3"
},
"devDependencies": {
Expand All @@ -52,6 +53,7 @@
"@storybook/react": "6.5.16",
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "0.0.13",
"@tailwindcss/forms": "0.5.3",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.1",
Expand Down
Loading

0 comments on commit dc7ed3d

Please sign in to comment.