mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
21 lines
523 B
TypeScript
21 lines
523 B
TypeScript
import React from 'react';
|
|
import { Components } from '@ionic/core';
|
|
|
|
|
|
const IonAlertModal: React.SFC<Components.IonAlertAttributes> = () => {
|
|
return null;
|
|
}
|
|
|
|
export default IonAlertModal;
|
|
|
|
/*
|
|
import IonAlertModal, { Header, SubHeader, Message, Button} from 'IonAlertModal';
|
|
|
|
<IonAlertModal isOpen={state.showModal}>
|
|
<Header>Favorite Added</Header>
|
|
<SubHeader></SubHeader>
|
|
<Message>Favorite info</Message>
|
|
<Button onClick={(e: MouseEvent) => { this.setState({ showModal: false})}}>OK</Button>
|
|
</IonAlertModal>
|
|
*/
|