Ajuste das iontabs | Tela esboço de cadastro sem validação
This commit is contained in:
19
src/components/Action.tsx
Normal file
19
src/components/Action.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { IonCol, IonRouterLink, IonRow } from "@ionic/react";
|
||||
|
||||
interface ComponentProps {
|
||||
message: string,
|
||||
link: string,
|
||||
text: string
|
||||
}
|
||||
|
||||
export const Action = (props: ComponentProps) => (
|
||||
|
||||
<IonRow className="ion-text-center ion-justify-content-center">
|
||||
<IonCol size="12">
|
||||
<p>
|
||||
{ props.message }
|
||||
<IonRouterLink className="custom-link" routerLink={ props.link }> { props.text } →</IonRouterLink>
|
||||
</p>
|
||||
</IonCol>
|
||||
</IonRow>
|
||||
);
|
||||
Reference in New Issue
Block a user