change side type from string to standards used in Tooltip.tsx

sid/event-type-single
Siddharth Movaliya 2023-10-12 10:31:43 +05:30
parent 5d565ba7b7
commit 18c93b5d5f
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ const Wrapper = ({
}: { }: {
tooltip?: string; tooltip?: string;
children: React.ReactNode; children: React.ReactNode;
side?: string; side?: "top" | "right" | "bottom" | "left";
}) => { }) => {
if (!tooltip) { if (!tooltip) {
return <>{children}</>; return <>{children}</>;