mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
feat(react): add custom elements bundle (#23896)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { OverlayEventDetail } from '@ionic/core';
|
||||
import { OverlayEventDetail } from '@ionic/core/components';
|
||||
|
||||
export interface HookOverlayOptions {
|
||||
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { OverlayEventDetail } from '@ionic/core';
|
||||
import { OverlayEventDetail } from '@ionic/core/components';
|
||||
import { useMemo, useRef } from 'react';
|
||||
|
||||
import { attachProps } from '../components/react-component-lib/utils';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ActionSheetButton, ActionSheetOptions, actionSheetController } from '@ionic/core';
|
||||
import { ActionSheetButton, ActionSheetOptions, actionSheetController } from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { useController } from './useController';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { AlertButton, AlertOptions, alertController } from '@ionic/core';
|
||||
import { AlertButton, AlertOptions, alertController } from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { useController } from './useController';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { LoadingOptions, SpinnerTypes, loadingController } from '@ionic/core';
|
||||
import { LoadingOptions, SpinnerTypes, loadingController } from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { useController } from './useController';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModalOptions, modalController } from '@ionic/core';
|
||||
import { ModalOptions, modalController } from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { ReactComponentOrElement, useOverlay } from './useOverlay';
|
||||
|
@ -3,7 +3,7 @@ import {
|
||||
PickerColumn,
|
||||
PickerOptions,
|
||||
pickerController,
|
||||
} from '@ionic/core';
|
||||
} from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { useController } from './useController';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { PopoverOptions, popoverController } from '@ionic/core';
|
||||
import { PopoverOptions, popoverController } from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { ReactComponentOrElement, useOverlay } from './useOverlay';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ToastOptions, toastController } from '@ionic/core';
|
||||
import { ToastOptions, toastController } from '@ionic/core/components';
|
||||
|
||||
import { HookOverlayOptions } from './HookOverlayOptions';
|
||||
import { useController } from './useController';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { OverlayEventDetail } from '@ionic/core';
|
||||
import { OverlayEventDetail } from '@ionic/core/components';
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
||||
|
Reference in New Issue
Block a user