feat: support assistant frontend (#2139)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
Joel
2024-01-23 19:31:56 +08:00
committed by GitHub
parent e65a2a400d
commit 7bbe12b2bd
194 changed files with 8726 additions and 1586 deletions

View File

@@ -185,8 +185,9 @@ const ComponentPicker: FC<ComponentPickerProps> = ({
return (
<LexicalTypeaheadMenuPlugin
options={options}
onQueryChange={() => {}}
onQueryChange={() => { }}
onSelectOption={onSelectOption}
anchorClassName='z-[999999]'
menuRenderFn={(
anchorElementRef,
{ selectedIndex, selectOptionAndCleanUp, setHighlightedIndex },