Br Packages

react-br

The `nl2br` function is a utility that converts newline characters in a string to `<br />` elements, suitable for rendering in React applications. This function can handle both strings and other types of inputs, returning the input unchanged if it is not

1.0.4 • Published 8 days ago