Skip to content

Commit 9d19bf7

Browse files
committed
feat: extract modal component
Signed-off-by: Innei <tukon479@gmail.com>
1 parent 345f797 commit 9d19bf7

File tree

39 files changed

+36
-34
lines changed

39 files changed

+36
-34
lines changed

src/components/universal/Modal/Modal.tsx renamed to packages/kami-design/components/Modal/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { clsx } from 'clsx'
22
import { observer } from 'mobx-react-lite'
3-
import {
3+
import React, {
44
forwardRef,
55
useCallback,
66
useImperativeHandle,
File renamed without changes.
File renamed without changes.

src/components/universal/Modal/scale-transition.tsx renamed to packages/kami-design/components/Modal/scale-transition.tsx

File renamed without changes.
File renamed without changes.
File renamed without changes.

src/components/universal/Overlay/index.tsx renamed to packages/kami-design/components/Overlay/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { clsx } from 'clsx'
22
import isUndefined from 'lodash-es/isUndefined'
33
import merge from 'lodash-es/merge'
44
import type { CSSProperties, FC, ReactNode } from 'react'
5-
import { memo, useEffect, useState } from 'react'
5+
import React, { memo, useEffect, useState } from 'react'
66

77
import { RootPortal } from '@mx-space/kami-design/components/Portal'
88

src/components/universal/Transition/base.tsx renamed to packages/kami-design/components/Transition/base.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* eslint-disable react-hooks/rules-of-hooks */
22
import type { ElementType, FC } from 'react'
3+
import React from 'react'
34
import { Transition } from 'react-transition-group'
45
import type { TransitionProps } from 'react-transition-group/Transition'
56

File renamed without changes.

src/components/universal/Transition/fade-in-out.tsx renamed to packages/kami-design/components/Transition/fade-in-out.tsx

File renamed without changes.

0 commit comments

Comments
 (0)