| 23 | } |
| 24 | |
| 25 | interface FieldCardProps { |
| 26 | field: Field; |
| 27 | onRemove: (id: string) => void; |
| 28 | variant?: "select" | "list"; |
| 29 | isActive?: boolean; |
| 30 | style?: React.CSSProperties; |
| 31 | } |
| 32 | |
| 33 | const FieldCard = ({ field, onRemove, variant = "select", isActive = false, style }: FieldCardProps) => { |
| 34 | const isListVariant = variant === "list"; |
nothing calls this directly
no outgoing calls
no test coverage detected