Skip to content

Commit b231351

Browse files
committed
feat: add useDrawer composable
1 parent 53c29b0 commit b231351

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/composables/state.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { ref, useState } from '#imports'
22

33
// App
4+
export const useDrawer = () => useState<boolean | null>('drawer', () => null)
45
export const useErrorMessage = () => useState('errorMessage', () => '')
56
export const useToast = () =>
67
useState('toast', () =>

0 commit comments

Comments
 (0)