This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Explicación de las Listas</title> | |
</head> | |
<body> | |
<!-- Unorder list --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Explicación de los Distintos Tipos de Textos</title> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>My first web page</title> | |
</head> | |
<body> | |
<form action="/register.php" method="POST"> | |
<h1>Create an Account</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
interface Props { | |
index: number; | |
steps: Array<{ id: number; title: string }>; | |
} | |
export default function ({ index, steps = [] }: Props) { | |
return ( | |
<ul className="progressBar"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
interface Props { | |
title: string; | |
values: Array<{ field: string; value: string }>; | |
editButtonClick: () => void; | |
} | |
export default function ({ title, values, editButtonClick }: Props) { | |
return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { SetForm, NavigationProps } from "react-hooks-helper"; | |
import { FormData } from "./StepperForm"; | |
import { ReviewCard } from "./"; | |
interface Props { | |
formData: FormData; | |
setForm: SetForm; | |
navigation: NavigationProps; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { SetForm, NavigationProps } from "react-hooks-helper"; | |
import { FormData } from "./StepperForm"; | |
import TextField from "./TextField"; | |
import StepButtons from "./StepButtons"; | |
interface Props { | |
formData: FormData; | |
setForm: SetForm; | |
navigation: NavigationProps; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { SetForm, NavigationProps } from "react-hooks-helper"; | |
import { FormData } from "./StepperForm"; | |
import TextField from "./TextField"; | |
import StepButtons from "./StepButtons"; | |
interface Props { | |
formData: FormData; | |
setForm: SetForm; | |
navigation: NavigationProps; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { SetForm, NavigationProps } from "react-hooks-helper"; | |
import { FormData } from "./StepperForm"; | |
import TextField from "./TextField"; | |
import StepButtons from "./StepButtons"; | |
// Component props | |
interface Props { | |
formData: FormData; | |
setForm: SetForm; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { useForm, useStep } from "react-hooks-helper"; | |
import { AuthInfo, BasicInfo, ContactInfo, FormReview, ProgressBar } from "./"; | |
// Describe the keys to know what steps the form will have | |
const steps: Array<string> = ["auth", "basicInfo", "contact", "review"]; | |
// Type to know what inputs the form will have | |
export interface FormData { |