import { ElTooltip } from 'element-plus'
import './index.less'

export default {
  setup (props, { slots }) {
    return () => <ElTooltip popperClass='cip-tooltip'>
      {{
        default: () => slots.default?.(),
        content: () => slots.content?.()
      }}
    </ElTooltip>
  }
}
