diff --git a/packages/react/src/components/IonActionSheet.tsx b/packages/react/src/components/IonActionSheet.tsx index 00635f6739..1c80c75b6c 100644 --- a/packages/react/src/components/IonActionSheet.tsx +++ b/packages/react/src/components/IonActionSheet.tsx @@ -6,7 +6,7 @@ export interface ActionSheetButton extends Omit { icon?: { ios: string; md: string; - }; + } | string; } export interface ActionSheetOptions extends Omit { diff --git a/packages/react/src/components/IonToast.tsx b/packages/react/src/components/IonToast.tsx index 82486edf55..3ffad9a2ce 100644 --- a/packages/react/src/components/IonToast.tsx +++ b/packages/react/src/components/IonToast.tsx @@ -6,7 +6,7 @@ export interface ToastButton extends Omit { icon?: { ios: string; md: string; - }; + } | string; } export interface ToastOptions extends Omit { diff --git a/packages/react/src/components/index.ts b/packages/react/src/components/index.ts index fe04aedc9d..4f3512c6a0 100644 --- a/packages/react/src/components/index.ts +++ b/packages/react/src/components/index.ts @@ -8,11 +8,11 @@ export * from './proxies'; // createControllerComponent export { IonAlert } from './IonAlert'; export { IonLoading } from './IonLoading'; -export { IonToast } from './IonToast'; +export * from './IonToast'; export { IonPicker } from './IonPicker'; // createOverlayComponent -export { IonActionSheet } from './IonActionSheet'; +export * from './IonActionSheet'; export { IonModal } from './IonModal'; export { IonPopover } from './IonPopover'; diff --git a/packages/react/src/components/navigation/IonBackButton.tsx b/packages/react/src/components/navigation/IonBackButton.tsx index 36ff59d992..c3dabde7ff 100644 --- a/packages/react/src/components/navigation/IonBackButton.tsx +++ b/packages/react/src/components/navigation/IonBackButton.tsx @@ -9,7 +9,7 @@ type Props = Omit & IonicReactProps & { icon?: { ios: string; md: string; - }; + } | string; ref?: React.RefObject; };