bootstrap-error-label

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i bootstrap-error-label

Weekly Downloads

3

Version

1.1.0

License

ISC

Unpacked Size

4.22 kB

Total Files

7

Last publish

Collaborators

  • cthacker