Skip to content
Kevin Gonzalez edited this page Sep 13, 2019 · 2 revisions

Cursor

  • Import Cursor from react-mk and pass the following props:

    • children: the cursor you wish to display, it will accept any node and is a | by default
    • blink: a bool which is true by default, when false the cursor will not blink
    • blinkAnimationDuration: the animation-duration of the css animation property of the cursor
    • All other props will be spread to the root element which is a span

Example

See example.

Clone this wiki locally