code: tsx,nextjs,frontends (1 files)

This commit is contained in:
2025-12-26 00:09:00 +00:00
parent 809fcaf471
commit c2cd5d3cdf

View File

@@ -1,4 +1,4 @@
import { useState, useEffect } from 'react'
import { useState, useEffect, useCallback } from 'react'
import { Button } from '@/components/ui'
import { Input } from '@/components/ui'
import { Label } from '@/components/ui'
@@ -12,6 +12,13 @@ import { ScrollArea } from '@/components/ui'
import { Database, ComponentNode, ComponentConfig } from '@/lib/database'
import { componentCatalog } from '@/lib/component-catalog'
import { toast } from 'sonner'
import type { PropDefinition } from '@/lib/builder-types'
/** Select option type for property schema options */
interface SelectOption {
value: string
label: string
}
interface ComponentConfigDialogProps {
node: ComponentNode