react-typist icon indicating copy to clipboard operation
react-typist copied to clipboard

should avoid using global class names for blinking cursor

Open p0o opened this issue 4 years ago • 0 comments

At the moment the blink cursor is using this global css name .Typist .Cursor--blinking .

Importing this stylesheet with modern tooling like CSS Modules results to a transformed name which is not a match to the classname above.

Also not a very good practice, a better approach could be implementing it using styled-components or injecting the stylesheet inside header within the component scope.

Any thoughts?

p0o avatar Oct 18 '19 16:10 p0o