Преглед изворни кода

arrowPointAtCenter -> arrow

visuddhinanda пре 1 месец
родитељ
комит
c911b6a07e

+ 2 - 2
dashboard-v6/backup/components/auth/StudioCard.tsx

@@ -1,6 +1,6 @@
 import { useIntl } from "react-intl";
 import { Popover, Avatar } from "antd";
-import type { IStudio } from "./Studio"
+import type { IStudio } from "./Studio";
 import { Link } from "react-router";
 import React from "react";
 
@@ -47,7 +47,7 @@ const StudioCardWidget = ({ studio, children, popOver }: IWidget) => {
         )
       }
       placement="bottomRight"
-      arrowPointAtCenter
+      arrow={{ pointAtCenter: true }}
     >
       {children}
     </Popover>

+ 1 - 1
dashboard-v6/backup/components/course/AddMember.tsx

@@ -112,7 +112,7 @@ const AddMemeberWidget = ({ courseId, onCreated }: IWidget) => {
   return (
     <Popover
       placement="bottomLeft"
-      arrowPointAtCenter
+      arrow={{ pointAtCenter: true }}
       content={form}
       trigger="click"
       open={open}

+ 1 - 1
dashboard-v6/backup/components/course/AddTeacher.tsx

@@ -58,7 +58,7 @@ const AddTeacherWidget = ({ _____groupId }: IWidget) => {
   return (
     <Popover
       placement="bottom"
-      arrowPointAtCenter
+      arrow={{ pointAtCenter: true }}
       content={form}
       trigger="click"
     >

+ 1 - 1
dashboard-v6/backup/components/dict/DictList.tsx

@@ -30,7 +30,7 @@ const DictListWidget = (prop: IWidgetDictList) => {
         <Affix offsetTop={50}>
           <Popover
             placement="bottomRight"
-            arrowPointAtCenter
+            arrow={{ pointAtCenter: true }}
             content={dictNav}
             trigger="click"
           >

+ 1 - 1
dashboard-v6/backup/components/group/AddMember.tsx

@@ -79,7 +79,7 @@ const AddMemberWidget = ({ groupId, onCreated }: IWidget) => {
   return (
     <Popover
       placement="bottomLeft"
-      arrowPointAtCenter
+      arrow={{ pointAtCenter: true }}
       content={form}
       trigger="click"
       open={open}

+ 1 - 1
dashboard-v6/backup/components/notification/NotificationIcon.tsx

@@ -100,7 +100,7 @@ const NotificationIconWidget = () => {
       {currUser ? (
         <Popover
           placement="bottomLeft"
-          arrowPointAtCenter
+          arrow={{ pointAtCenter: true }}
           destroyTooltipOnHide
           content={
             <div style={{ width: 600 }}>

+ 1 - 1
dashboard-v6/backup/components/task/Filter.tsx

@@ -95,7 +95,7 @@ const Filter = ({ initValue, onChange }: IWidget) => {
     <Popover
       placement="bottomLeft"
       trigger={"click"}
-      arrowPointAtCenter
+      arrow={{ pointAtCenter: true }}
       title={intl.formatMessage({ id: "labels.filter" })}
       content={
         <div style={{ width: 780 }}>

+ 3 - 3
dashboard-v6/backup/components/template/QuoteLink.tsx

@@ -1,7 +1,7 @@
 import { Popover, Typography } from "antd";
 
-import { ArticleCtl, type TDisplayStyle } from "./Article"
-import { type IWidgetTermCtl, TermCtl } from "./Term"
+import { ArticleCtl, type TDisplayStyle } from "./Article";
+import { type IWidgetTermCtl, TermCtl } from "./Term";
 import { useEffect, useState } from "react";
 
 const { Text } = Typography;
@@ -89,7 +89,7 @@ const QuoteLinkCtl = ({
       ) : (
         <Popover
           placement="top"
-          arrowPointAtCenter
+          arrow={{ pointAtCenter: true }}
           content={
             <>
               <TermCtl {...term} compact={true} />{" "}

+ 1 - 1
dashboard-v6/backup/components/template/SentEdit/SentCart.tsx

@@ -55,7 +55,7 @@ const SentCartWidget = () => {
     <>
       <Popover
         placement="bottomRight"
-        arrowPointAtCenter
+        arrow={{ pointAtCenter: true }}
         destroyTooltipOnHide
         getTooltipContainer={(_node: HTMLElement) =>
           document.getElementsByClassName("toolbar_center")[0] as HTMLElement

+ 2 - 2
dashboard-v6/backup/components/template/SentEdit/SuggestionPopover.tsx

@@ -1,7 +1,7 @@
 import { Popover } from "antd";
 import { useEffect, useState } from "react";
 import SentCell from "./SentCell";
-import type { ISentence } from "../SentEdit"
+import type { ISentence } from "../SentEdit";
 import { useAppSelector } from "../../../hooks";
 import { prInfo, refresh } from "../../../reducers/pr-load";
 import store from "../../../store";
@@ -59,7 +59,7 @@ const SuggestionPopoverWidget = ({
   return (
     <Popover
       placement="bottomRight"
-      arrowPointAtCenter
+      arrow={{ pointAtCenter: true }}
       content={
         <div>
           <SentCell value={sentData} key={1} isPr={true} showDiff={false} />