From bab1d033201dbd484bfb3370bb19f3b069f4eafc Mon Sep 17 00:00:00 2001 From: kudlajz Date: Thu, 31 Oct 2024 12:57:18 +0100 Subject: [PATCH] Fixed prettier issues --- .../src/components/SearchInput/Panel.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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}
}