Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescrit #27

Open
KayoRonald opened this issue Nov 16, 2021 · 0 comments
Open

typescrit #27

KayoRonald opened this issue Nov 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@KayoRonald
Copy link
Owner

KayoRonald commented Nov 16, 2021

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;
}
@KayoRonald KayoRonald added the enhancement New feature or request label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant