# TreeRow

Source: /tuil/docs/reference/packages/content/api/tree-row
Locale: en

interface exported by @mwillbanks/tuil-content.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-content`.

```ts
export interface TreeRow {
  readonly path: string;
  readonly depth: number;
  readonly key: string;
  readonly type: string;
  readonly value?: unknown;
  readonly expandable: boolean;
  readonly expanded: boolean;
}
```

## Members [#members]

| Member       | Type      | Required | Description                                          | Related types |
| ------------ | --------- | -------- | ---------------------------------------------------- | ------------- |
| `path`       | `string`  | Yes      | The `path` member uses the `string` contract.        | —             |
| `depth`      | `number`  | Yes      | The `depth` member uses the `number` contract.       | —             |
| `key`        | `string`  | Yes      | The `key` member uses the `string` contract.         | —             |
| `type`       | `string`  | Yes      | The `type` member uses the `string` contract.        | —             |
| `value`      | `unknown` | No       | The `value` member uses the `unknown` contract.      | —             |
| `expandable` | `boolean` | Yes      | The `expandable` member uses the `boolean` contract. | —             |
| `expanded`   | `boolean` | Yes      | The `expanded` member uses the `boolean` contract.   | —             |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/content/src/index.ts)

## Package [#package]

[@mwillbanks/tuil-content](/tuil/docs/reference/packages/content)
