From 42a28236b6efefad63e04941a10622229a1dc35d Mon Sep 17 00:00:00 2001 From: Dominic Go <18517029+dominicstop@users.noreply.github.com> Date: Sat, 22 Apr 2023 10:16:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Refactor:=20Rename=20to=20`Modal?= =?UTF-8?q?ViewProps`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Rename `src/components/ModalView/ModalViewTypes` to `ModalViewProps`. --- src/components/ModalView/ModalView.tsx | 2 +- .../ModalView/{ModalViewTypes.ts => ModalViewProps.ts} | 0 src/components/ModalView/index.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/components/ModalView/{ModalViewTypes.ts => ModalViewProps.ts} (100%) diff --git a/src/components/ModalView/ModalView.tsx b/src/components/ModalView/ModalView.tsx index 9165e5ed..10d83652 100644 --- a/src/components/ModalView/ModalView.tsx +++ b/src/components/ModalView/ModalView.tsx @@ -43,7 +43,7 @@ import { import { RNIModalViewModule } from '../../native_modules/RNIModalViewModule'; -import type { ModalViewProps, ModalViewState } from './ModalViewTypes'; +import type { ModalViewProps, ModalViewState } from './ModalViewProps'; import { ModalViewEmitterEvents, diff --git a/src/components/ModalView/ModalViewTypes.ts b/src/components/ModalView/ModalViewProps.ts similarity index 100% rename from src/components/ModalView/ModalViewTypes.ts rename to src/components/ModalView/ModalViewProps.ts diff --git a/src/components/ModalView/index.ts b/src/components/ModalView/index.ts index ff5c6ce3..7885e561 100644 --- a/src/components/ModalView/index.ts +++ b/src/components/ModalView/index.ts @@ -1,4 +1,4 @@ export * from './ModalView'; -export * from './ModalViewTypes'; +export * from './ModalViewProps'; export * from './ModalViewEmitter'; export * from './ModalViewEmitterDeprecated';