function useOption(props, { emit }) {
  return {
    hoverItem: () => {
      if (!props.disabled) emit("hover", props.index);
    },
    selectOptionClick: () => {
      if (!props.disabled) emit("select", props.item, props.index);
    }
  };
}
export {
  useOption
};
