Nl2br Packages

vue-nl2br

A vue component that turns new lines into line breaks.

1.1.1 • Published 3 years ago

@render-props/paragraphs

A function as child component which provides an interface for creating paragraphs with line breaks from raw text with `\n` new lines. The default render child is: ```js const defaultParagraph = props => <p key={props.key} children={props.text}/> ```

0.1.14 • Published 6 years ago

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 1 year ago