mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-30 16:54:57 +00:00
code: tsx,nextjs,frontends (1 files)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user