Skip to content

Commit e8764e6

Browse files
committed
feat(modal): update modal
1 parent 13f7910 commit e8764e6

File tree

3 files changed

+3
-30
lines changed

3 files changed

+3
-30
lines changed

src/float/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
22
import Draggable, { type DraggableEventHandler, type DraggableProps } from 'react-draggable';
33
import classNames from 'classnames';
44

5-
import useMergeOption, { MergeOption } from './useMergeOption';
5+
import useMergeOption, { type MergeOption } from '../useMergeOption';
66
import './index.scss';
77

88
export interface IFloatProps {

src/float/useMergeOption.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/modal/modal.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import { Alert, type AlertProps, Modal, type ModalProps } from 'antd';
44
import classNames from 'classnames';
55
import { omit } from 'lodash-es';
66

7-
import type { IFloatProps } from '../float';
8-
import Float from '../float';
9-
import useMergeOption, { MergeOption } from '../float/useMergeOption';
7+
import Float, { type IFloatProps } from '../float';
8+
import useMergeOption, { type MergeOption } from '../useMergeOption';
109
import Handler from './handle';
1110
import './index.scss';
1211

0 commit comments

Comments
 (0)