mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
feat(react): add react hooks to control overlay components (#22484)
This commit is contained in:
@ -69,6 +69,15 @@ export * from './hrefprops';
|
||||
// Ionic Animations
|
||||
export { CreateAnimation } from './CreateAnimation';
|
||||
|
||||
// Hooks
|
||||
export { useIonActionSheet, UseIonActionSheetResult } from '../hooks/useIonActionSheet';
|
||||
export { useIonAlert, UseIonAlertResult } from '../hooks/useIonAlert';
|
||||
export { useIonToast, UseIonToastResult } from '../hooks/useIonToast';
|
||||
export { useIonModal, UseIonModalResult } from '../hooks/useIonModal';
|
||||
export { useIonPopover, UseIonPopoverResult } from '../hooks/useIonPopover';
|
||||
export { useIonPicker, UseIonPickerResult } from '../hooks/useIonPicker';
|
||||
export { useIonLoading, UseIonLoadingResult } from '../hooks/useIonLoading';
|
||||
|
||||
// Icons that are used by internal components
|
||||
addIcons({
|
||||
'arrow-back-sharp': arrowBackSharp,
|
||||
|
Reference in New Issue
Block a user