File size: 381 Bytes
acbae00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { useEffect } from "react";
import type { DriveStep } from "driver.js";

type SimpleHighlightProps = {
  popover: DriveStep.Popover;
}

export function SimpleHighlight() {
  useEffect(() => {
    console.log('in browser');
  }, []);
  return (
    <button onClick={() => alert('sup')} className='w-full rounded-md bg-black p-2 text-white'>Highlight Something</button>
  );
}