From 2b6b6c413486ccefe62435088d5d20dbeda49164 Mon Sep 17 00:00:00 2001 From: Araozu Date: Thu, 11 Mar 2021 11:25:02 -0500 Subject: [PATCH] Modificar layout para que el usuario pueda tener multiples horarios --- src/App.tsx | 2 +- src/ContenedorHorarios/BotonIcono.tsx | 23 +++++++++++++++++++++++ src/ContenedorHorarios/Horarios.tsx | 8 ++++++++ src/ContenedorHorarios/MiHorario.tsx | 22 ++++++++++++++++++++++ 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 src/ContenedorHorarios/BotonIcono.tsx diff --git a/src/App.tsx b/src/App.tsx index 06c4829..8edbbb8 100755 --- a/src/App.tsx +++ b/src/App.tsx @@ -32,7 +32,7 @@ function App() { -
+
); diff --git a/src/ContenedorHorarios/BotonIcono.tsx b/src/ContenedorHorarios/BotonIcono.tsx new file mode 100644 index 0000000..bc83dd2 --- /dev/null +++ b/src/ContenedorHorarios/BotonIcono.tsx @@ -0,0 +1,23 @@ +import { css } from "aphrodite"; +import { estilosGlobales } from "../Estilos"; + +interface BotonMaxMinProps { + icono: string, + titulo: string, + onClick: () => void +} + +export function BotonIcono(props: BotonMaxMinProps) { + return
+ +
+} diff --git a/src/ContenedorHorarios/Horarios.tsx b/src/ContenedorHorarios/Horarios.tsx index d5ecfef..40acfc1 100755 --- a/src/ContenedorHorarios/Horarios.tsx +++ b/src/ContenedorHorarios/Horarios.tsx @@ -49,6 +49,14 @@ export function Horarios(props: HorariosProps) { return
+
+
+ Horarios disponibles +
+
{elAnios} | +
Mi horario
+
+ Opcion 2 +
+
+ +
+
+ Mi horario +
+ | + {}}/> + {}}/> + {}}/> + {}}/> |