@kne/react-text-escape

0.1.4 • Public • Published

useCallbackState

显示多行文本的换行符

npm i @kne/react-text-escape

使用说明

import TextEscape from "./index"; '@kne/react-text-escape';

const SomeComponent = ()=><TextEscape text={'第一行文字\n第二行文字'}/>;

Readme

Keywords

Package Sidebar

Install

npm i @kne/react-text-escape

Weekly Downloads

27

Version

0.1.4

License

ISC

Unpacked Size

24.6 kB

Total Files

11

Last publish

Collaborators

  • metacoo
  • yangwang123456
  • juliewang
  • lingtong