Search

Page search modal

Search modal example

A fully example of using the search modal

APIs

Search.Props

AttributeDescriptionTypeAccepted valuesDefault
visibleis visibilebooleanfalse-
placeholderplaceholder for searchstring--
searchFunctionon search(keyword: string) => Promise<SearchResult[]>SearchResult-
...native propsHTMLAttributes--

SearchResult

AttributeDescriptionTypeAccepted valuesDefault
nameSearch result titlestring--
symbolIcon or symbolReact.ReactNode--
groupName of group for searchstring--
urlUrl of the search itemstring--