jbilcke-hf's picture
jbilcke-hf HF staff
let's use @aitube/clap inside AiTube
0d218b1
raw
history blame
No virus
334 Bytes
"use client"
import { v4 as uuidv4 } from "uuid"
import { ClapProject, ClapSegment } from "@aitube/clap"
import { LayerElement } from "../../core/types"
export async function resolve(segment: ClapSegment, clap: ClapProject): Promise<LayerElement> {
return {
id: uuidv4(),
element: <div className="w-full h-full" />
}
}