bootstrap-error-label
1.1.0 • Public • Published
- Less boilerplate code
- Compatible with NextJS 13+
- Easier-to-read code with optional props for customization
-
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