0.2.2 • Published 3 years ago

@bdt-component-library/input-error v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

InputError Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of error messages for input components in our component library.

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe error message text to display
classNamestringnon/aAdds an optional classname to the component
sizeenum("default", "medium")yes"default"Changes the text style
0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago