Raw
1 import { Fragment, ReactNode } from "react"
2
3 export type LayoutEntryProps = {
4 /** Stable identity for this entry. Survives component renames and minification. */
5 id: string
6 children: ReactNode
7 }
8
9 /**
10 * Pins a stable identity to a layout entry. Use this to wrap sections whose
11 * component name is unstable (subject to rename or minification), ensuring
12 * any saved user preferences survive refactors.
13 */
14 export function LayoutEntry({ children }: LayoutEntryProps) {
15 return <Fragment>{children}</Fragment>
16 }
17
18 LayoutEntry.displayName = "LayoutEntry"