Skip to main content

SearchModalValue

Home > @backstage/plugin-search > SearchModalValue

The state of the search modal, as well as functions for changing the modal's visibility.

Signature:

export type SearchModalValue = {
state: {
hidden: boolean;
open: boolean;
};
toggleModal: () => void;
setOpen: (open: boolean) => void;
};