Hi there,
Thank you very much for your amazing work. I have a request to simplify the usage of useKBarState.
If we want to open the KBar manually, we have to create computed and methods.
It would be great to be provided with a set of computed and methods out of the box.
Current situation
const state = useKBarState();
const visible = computed(() => state.value.visibility !== "hidden");
const open = () => { state.value.visibility = "visible" }
const close = () => { state.value.visibility = "hidden" }
return { visible, open, close }
Ideally
const { visible, open, close } = useKBarState();
return { visible, open, close }
What do you think π€