Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 540 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 540 Bytes

reference-tooltip-react-sample

Sample of reference-tooltip with React

Example

https://reference-tooltip-react-sample.netlify.com/

import React from "react";
import "reference-tooltip";

function Component() {
    return (
        <p>
            I love <referenced-word rwid="sushi" content="Very very delicious.">sushi</referenced-word>.
        </p>
    );
}

Try in local

yarn dev
# or
npm run dev