Open
Description
Feature Request: Change search state externally
I suggest a feature that externally changable searchOpen state
I guess, this file is implementing searhOpen state like this
const [isSearchOpen, setIsSearchOpen] = React.useState(false)
const onOpenSearch = React.useCallback(() => {
setIsSearchOpen(true)
}, [])
const onCloseSearch = React.useCallback(() => {
setIsSearchOpen(false)
}, [])
I'm not sure how to make this feature as code, but I suggest some applicable functions by this feature
example functions
ctrl + p
shortcut for activate search dialog like notion.so- Auto open search dialog modal when open landing page (what I want to do)
Thanks for this great project