# presentation/views/license.view.ts

> 15 lines of code and 2 definitions.

Tree: Site tree
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/tree#file-presentation-views-license-view-ts
Source text: https://banes-lab.com/assets/sources/source.806795cb2416544853672b0d6c7a8fc46e3af8b3cf8b9851e3278b2a5f39c480.generated.txt

## Definitions

- `renderLicense` (lexical_declaration, line 7)
- `PAGE` (lexical_declaration, line 11, exported)

## Source

```typescript
import { LICENSE_DESCRIPTION, LICENSE_TITLE } from "#configuration/strings/page.strings";
import { LICENSE_META, LICENSE_SECTIONS } from "#configuration/strings/license.strings";
import { LICENSE_PAGE } from "#core/ids/page.ids";
import type { PageDefinition } from "#types/page.types";
import { renderDocument } from "#presentation/renderers/document.renderer";

const renderLicense = function renderLicense(): Element {
    return renderDocument(LICENSE_META, LICENSE_SECTIONS);
};

export const PAGE: PageDefinition = {
    content: { kind: "document", meta: LICENSE_META, sections: LICENSE_SECTIONS },
    description: LICENSE_DESCRIPTION,
    id: LICENSE_PAGE,
    render: renderLicense,
    title: LICENSE_TITLE,
};
```
