import { inject } from 'vue' import type { ComputedRef } from 'vue' export interface IUseOptions { currentColor: ComputedRef } export const OPTIONS_KEY = Symbol() export const useOptions = () => { return inject(OPTIONS_KEY) }