Skip to content

Commit

Permalink
fix: updates interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Jul 25, 2022
1 parent 4a9cfdb commit 4616fb0
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/types/IComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,42 @@ export interface OcupacaoProps {
cliente?: string;
barbeiro?: string;
}

export interface TicketProps {
cliente?: ClienteMetadata | undefined;
}

export interface AgendaProps {
onClick: () => void;
}

export interface AlertProps {
title: string;
success?: boolean;
error?: boolean;
warning?: boolean;
info?: boolean;
onClick?: () => void;
close?: boolean;
}

export interface BadgeProps {
primary: boolean;
children: React.ReactNode;
}

export interface HorariosProps {
horario: string;
disabled: boolean;
onClick: () => void;
children: React.ReactNode;
}

export interface SocialButtonProps {
onClick: () => void;
icon?: React.ReactElement;
text: string;
apple?: boolean;
google?: boolean;
whatsapp?: boolean;
}

0 comments on commit 4616fb0

Please sign in to comment.