Closed jferrettiboke closed 1 year ago
I'm digging around in the source, maybe this helps as a starting point:
const { search, actions } = useKBar(state => ({
search: state.searchQuery,
actions: state.actions
}))
useRegisterActions
hook, which can be used to dynamically add actionsHey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd like to add some actions based on user's query input. Example:
Spotlight has support for this. GitHub as well. Having the primitives that allow us to build something similar would be great.
My questions are: