Skip to content

Draw a scribbly underline underneath some text in React

License

Notifications You must be signed in to change notification settings

camjc/underline-emphasis

This branch is 1 commit ahead of, 5 commits behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aa0dcb0 · Mar 2, 2024
Oct 16, 2019
Mar 2, 2024
Mar 4, 2020
Mar 4, 2020
Oct 16, 2019
Oct 16, 2019
Mar 4, 2020
Mar 1, 2024
Mar 1, 2024
Oct 16, 2019

Repository files navigation

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}}/>.