Open XuTheBunny opened 5 years ago
Create input field - one line input box with different input types.
Kids First Data Tracker
Kids First Coordinator
Kids First website
No API changes are made on this component.
The validation for input value would be handled by the app. To show the error message, pass the string to error prop.
error
src/ └── components ├── InputText │ ├── __tests__/ │ ├── InputText.jsx │ ├── InputText.story.jsx │ └── InputText.css └── index.js
Test input text box component with all prop value combinations.
UIKit Storybook for Review
Built with commit c9c381d20234ad344d9ac572be40e1a2cc2bb05b
https://deploy-preview-119--kf-uikit.netlify.com
Built with commit 87257eee6979d25a55c81d431255e8921563c2a1
Motivation
Create input field - one line input box with different input types.
Use Cases
Kids First Data Tracker
Kids First Coordinator
Kids First website
API changes
No API changes are made on this component.
Implementation Notes
The validation for input value would be handled by the app. To show the error message, pass the string to
error
prop.Rendering and Storybook location
Functional Tests
Test input text box component with all prop value combinations.