Skip to content

Instantly share code, notes, and snippets.

View ashfahan's full-sized avatar
💻
You will find me 🐛 crawling on web 🕸

Ashfahan ashfahan

💻
You will find me 🐛 crawling on web 🕸
View GitHub Profile
import type { HTMLAttributes, ReactNode } from "react"
import type { ControllerRenderProps, FieldError, FieldValues, Path, UseControllerProps } from "react-hook-form"
type ExtraElement<ControllerProps extends FieldValues> = (
values: ControllerRenderProps<ControllerProps, FormFieldProps<ControllerProps>["name"]>
) => ReactNode | ReactNode[]
export type FormFieldChildren<ControllerProps extends FieldValues> = {
error?: FieldError
checked?: ControllerRenderProps["value"]
@ashfahan
ashfahan / index.html
Created April 5, 2023 09:49
Swiper coverflow
<!-- Slider main container -->
<div class="swiper-container">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<img src="http://marveltheme.com/tf/html/appai/appai/img/app-screenshots/10.jpg" alt="">
</div>
<div class="swiper-slide">
<img src="http://marveltheme.com/tf/html/appai/appai/img/app-screenshots/11.jpg" alt="">