Browse Source

feat(gui-v2): add `provideSidebar`

pull/3023/head
braks 2 years ago
parent
commit
313876a14e
  1. 2
      packages/nc-gui-v2/composables/useSidebar/index.ts

2
packages/nc-gui-v2/composables/useSidebar/index.ts

@ -36,6 +36,8 @@ const [setup, use] = useInjectionState((props: UseSidebarProps = {}) => {
}
}, 'useSidebar')
export const provideSidebar = setup
export function useSidebar(props: UseSidebarProps = {}) {
const state = use()

Loading…
Cancel
Save