camjc / underline-emphasis

Draw a scribbly underline underneath some text in React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnderlineEmphasis

This component draws a purple squiggly underline underneath whatever text children are passed in.

image

Package uses tsdx as the build system.

Use via npm install underline-emphasis

Development

npm start in both the root directory and the example directory. The root one will watch for changes.

If you want to see the squiggly by itself replace the return with <div dangerouslySetInnerHTML={{__html: svgImage}}/>.

About

Draw a scribbly underline underneath some text in React

License:MIT License


Languages

Language:TypeScript 94.6%Language:HTML 5.4%