feat(core): add search result highlighting (#4667)

Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
JimmFly
2023-10-24 13:54:37 +08:00
committed by GitHub
parent 14bee1811c
commit 5226d6c568
35 changed files with 479 additions and 305 deletions

View File

@@ -1,5 +1,5 @@
import { CloseIcon } from '@blocksuite/icons';
import type React from 'react';
import type { ReactNode } from 'react';
import {
browserWarningStyle,
@@ -14,7 +14,7 @@ export const BrowserWarning = ({
}: {
show: boolean;
onClose: () => void;
message: React.ReactNode;
message: ReactNode;
}) => {
if (!show) {
return null;

View File

@@ -88,11 +88,7 @@ const CloudShareMenu = (props: ShareMenuProps) => {
modal: false,
}}
>
<Button
data-testid="cloud-share-menu-button"
type="plain"
onClick={() => console.log('gg')}
>
<Button data-testid="cloud-share-menu-button" type="plain">
<div
style={{
color: isSharedPage