25 lines
579 B
TypeScript
25 lines
579 B
TypeScript
/**
|
|
* @lilith/ui-dev-content shim — passthrough wrapper
|
|
*/
|
|
|
|
import type { ReactNode } from 'react'
|
|
|
|
interface EditableContentProps {
|
|
children: ReactNode
|
|
[key: string]: unknown
|
|
}
|
|
|
|
/** Passthrough — no dev content editing in .live */
|
|
export function EditableContent({ children }: EditableContentProps): ReactNode {
|
|
return children
|
|
}
|
|
|
|
interface DevContentOverlayProps {
|
|
children: ReactNode
|
|
hideToggle?: boolean
|
|
}
|
|
|
|
/** Passthrough — no dev overlay in .live */
|
|
export function DevContentOverlay({ children }: DevContentOverlayProps): ReactNode {
|
|
return children
|
|
}
|