Modal Login

Creates an easy to use login modal component.

Once imported it can be modified the way you want.

Just add your custom logic.

Prefixes

  • ch-modalLogin
  • ch-modalLoginTS

Props

Modal Login takes the following props:

  • open: boolean
  • toggle: Dispatch<SetStateAction<boolean>>

Example: An example of the usage is provided in the snippet.

Preview