"use client" import React, { useId } from "react" import { classNames } from "../../utils" export type MeshGradientProps = { imageUrl: string | undefined className?: string innerClassName?: string } /** * Generates a mesh gradient fron an image. Useful for cases where we want to derive a banner image from a profile image. */ export const MeshGradient = ({ className, innerClassName, imageUrl, }: MeshGradientProps) => { const id = useId() return (