You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
318 B
TypeScript

import { SVGProps } from 'react'
import { z } from 'zod'
export type IconSvgProps = SVGProps<SVGSVGElement> & {
size?: number
}
export const bookmarkSchema = z.object({
name: z.string(),
link: z.string(),
description: z.string(),
url: z.string().url(),
})
export type Bookmark = z.infer<typeof bookmarkSchema>