{
  "id": "@typed/ui/index#Popover.Content",
  "canonicalId": "@typed/ui/Popover#Content",
  "symbol": {
    "id": "@typed/ui/index#Popover.Content",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Popover.Content",
    "kind": "function",
    "signatures": [
      "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "summary": "Renders manually controlled native popover content.",
    "sections": {
      "Why": "The component delegates top-layer lifecycle to the Popover API, synchronizes\ncompleted `toggle` events, and handles Escape through native events.",
      "Ownership and lifetime": "Running the Fx owns listeners and the NativePopover observer in its Effect\nScope. A custom host must preserve `popover=\"manual\"`, the toggle handler, and\nthe single composed hydration ref."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Popover from \"@typed/ui/Popover\"\n\nconst program = Effect.gen(function* () {\n  const state = yield* Popover.makeState()\n  return Popover.Content({ state, content: \"Preferences\" })\n})"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Popover.ts",
      "line": 314
    },
    "since": "1.0.0",
    "category": "Native content host"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Popover.Content",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Popover",
    "qualifiedName": "Popover.Content",
    "declarationKey": "declaration:a569a37a9a9768a5487087b9",
    "family": "function",
    "signatures": [
      "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Popover.ts",
        "start": {
          "line": 314,
          "column": 1
        },
        "end": {
          "line": 338,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Popover.Content",
      "@typed/ui/Popover#Content"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Popover",
    "static": false,
    "importedFrom": "declaration:a569a37a9a9768a5487087b9"
  },
  "declaration": {
    "declarationKey": "declaration:a569a37a9a9768a5487087b9",
    "name": "Content",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
        ],
        "typeParameters": [
          "const Options extends ContentOptions",
          "const Host extends HostResult = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Popover.ts",
            "start": {
              "line": 314,
              "column": 1
            },
            "end": {
              "line": 338,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "typeParameters": [
      "const Options extends ContentOptions",
      "const Host extends HostResult = never"
    ],
    "summary": "Renders manually controlled native popover content.",
    "sections": {
      "Why": "The component delegates top-layer lifecycle to the Popover API, synchronizes\ncompleted `toggle` events, and handles Escape through native events.",
      "Ownership and lifetime": "Running the Fx owns listeners and the NativePopover observer in its Effect\nScope. A custom host must preserve `popover=\"manual\"`, the toggle handler, and\nthe single composed hydration ref."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Popover from \"@typed/ui/Popover\"\n\nconst program = Effect.gen(function* () {\n  const state = yield* Popover.makeState()\n  return Popover.Content({ state, content: \"Preferences\" })\n})"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Popover.ts",
        "start": {
          "line": 314,
          "column": 1
        },
        "end": {
          "line": 338,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Native content host"
  }
}
