import type { JSXElement } from 'solid-js'

interface Props {
  children: JSXElement
  onClick: () => void
}

export default (props: Props) => {
  return (
    <>
      <div style="cursor: pointer" onClick={props.onClick}>
        {props.children}
      </div>
    </>
  )
}
