1.1.0 • Published 7 months ago

bootstrap-error-label v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

React-Bootstrap Form.Label Wrapper.

Benefits:

  • Less boilerplate code
  • Compatible with NextJS 13+
  • Easier-to-read code with optional props for customization

Specifications

  • Language
    • Typescript
  • Framework
    • React >18+
Props Descriptions
  • content string | ReactNode
    • The content of the label, can either be a string representation or an React element itself
  • displayError boolean
    • Whether to display the error
  • error string | ReactNode
    • The error content, can either be an string or a ReactNode.
  • formLabelClassName string
    • CSS override if the user desires to override the className applied to the react-bootstrap Form.Label component being utilized in this package.