You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a reusable InputField component that meets the design system standards. This component will be used throughout the application to maintain consistency in input field styles, behavior, and accessibility.
Description:
Implement a reusable
InputField
component that meets the design system standards. This component will be used throughout the application to maintain consistency in input field styles, behavior, and accessibility.Figma
Requirements:
Styles:
Props:
variant
: Defines type (large, small, outlined).label
: Provide a label for the inputField.disabled
: Disables the inputField when true.value
: Provides the value to the component.placeholder
: Supports placeholder for component.helperText
: Supports helperText in giving user hints or warnings.error
: Supports error text and error icon in giving user hints or warnings when trueonChange
: A callback function to handle input changes.search
: adds a search icon when truesx
: The sx prop will accept a style object that can be merged with the existing styles.Don't forget to cover component with tests and add to the storybook
The text was updated successfully, but these errors were encountered: