mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxt.com>
12 lines
216 B
TypeScript
12 lines
216 B
TypeScript
import { createSharedComposable } from '@vueuse/core'
|
|
|
|
const _useDocs = () => {
|
|
const isSearchModalOpen = ref(false)
|
|
|
|
return {
|
|
isSearchModalOpen
|
|
}
|
|
}
|
|
|
|
export const useDocs = createSharedComposable(_useDocs)
|