typescrit
KayoRonald opened this issue · 0 comments
KayoRonald commented
import { ButtonProps as ChakraProps, InputProps as ChakraInputProps } from '@chakra-ui/react';
export type FormProps = {
heading?: string;
text?: string;
children?: React.ReactNode;
name?: string;
mt?: number;
id?: string;
}
export type JumbotronProps = {
children?: React.ReactNode;
directions?: string;
direction?: React.ElementType;
}
export type ButtonProps = ChakraProps & {
loading: boolean;
}
export type LocationProps = {
location?: any;
pathname?: any;
}
export type InputProps = ChakraInputProps & {
placeholder?: string;
type?: string;
iconLeft?: JSX.Element;
name?: string;
}
export type RegistionProps = {
id: number;
namePoint: string;
latitude: number;
longitude: number;
about: string;
whatsapp: string;
responsibleName: string;
typePoint: string;
}
export type ModalProps = {
namePoint: string;
about: string;
whatsapp: string;
responsibleName: string;
typePoint: string;
latitudeCoords: any;
longitudeCoords: any;
}