Files
HKSingleParty/03_source/mobile/src/pages/DemoReactLogin/components/Action.tsx
2025-06-08 19:07:38 +08:00

22 lines
514 B
TypeScript

import { IonCol, IonRouterLink, IonRow } from '@ionic/react';
interface ActionProps {
message: string;
text: string;
link: string;
}
export const Action = (props: ActionProps): React.JSX.Element => (
<IonRow className="ion-text-center ion-justify-content-center">
<IonCol size="12">
<p>
{props.message}
<IonRouterLink className="custom-link" routerLink={props.link}>
{' '}
{props.text} &rarr;
</IonRouterLink>
</p>
</IonCol>
</IonRow>
);