diff --git a/packages/slate-editor/src/components/SearchInput/Panel.tsx b/packages/slate-editor/src/components/SearchInput/Panel.tsx index 5ec0d962a..703ac0104 100644 --- a/packages/slate-editor/src/components/SearchInput/Panel.tsx +++ b/packages/slate-editor/src/components/SearchInput/Panel.tsx @@ -1,4 +1,4 @@ -import { type Placement } from '@popperjs/core'; +import { type Placement } from '@popperjs/core'; import classNames from 'classnames'; import type { HTMLAttributes, ReactNode } from 'react'; import React, { forwardRef } from 'react'; @@ -14,10 +14,14 @@ export interface Props extends HTMLAttributes { export const Panel = forwardRef( ({ children, className, footer, placement = 'bottom', ...attributes }, forwardedRef) => { return ( -
+
{children} {footer &&
{footer}
}