forked from RiseUP/riseup-squad20
ações para formulários de agendamento
- calendar-registration-form.tsx:
- Otimizadas importações de ícones e
adicionadas novas caixas de seleção para
reembolso e impressão de etiquetas.
- Introduzido campo 'Profissional
solicitante' com funcionalidade de busca.
- Removido botão 'Cancelar' interno.
- FooterAgenda.tsx:
- Consolidado botões de ação,
removendo 'Cancelar' e 'Salvar as
alterações' redundantes.
26 lines
819 B
TypeScript
26 lines
819 B
TypeScript
"use client";
|
|
|
|
import { Save } from "lucide-react";
|
|
import { Button } from "../ui/button";
|
|
import { Label } from "../ui/label";
|
|
import { Switch } from "../ui/switch";
|
|
import { useState } from "react";
|
|
import Link from "next/link";
|
|
|
|
export default function FooterAgenda() {
|
|
const [bloqueio, setBloqueio] = useState(false);
|
|
|
|
return (
|
|
<div className="sticky bottom-0 left-0 right-0 border-t border-border bg-background">
|
|
<div className="mx-auto w-full max-w-7xl px-8 py-3 flex items-center justify-between">
|
|
<div className="flex items-center gap-2">
|
|
<Switch checked={bloqueio} onCheckedChange={setBloqueio} />
|
|
<Label className="text-sm text-foreground">Bloqueio de Agenda</Label>
|
|
</div>
|
|
<div className="flex gap-2">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|