
Highlighter is autolocked, so we shouldn't show the lock icon ### Change Type - [x] `patch` — Bug fix [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - We no longer show the tool lock option for highlighter - it didn't do anything anyway
133 lines
1.7 KiB
Text
133 lines
1.7 KiB
Text
---
|
|
title: TLStateNodeConstructor
|
|
status: published
|
|
category: editor
|
|
group: Interface
|
|
author: api
|
|
date: 06/23/2023
|
|
order: 178
|
|
---<Small>Public Interface</Small>
|
|
|
|
<details>
|
|
<summary>Table of Contents</summary>
|
|
- [Properties](#properties)
|
|
- [children](#TLStateNodeConstructor-children-member)
|
|
- [id](#TLStateNodeConstructor-id-member)
|
|
- [initial](#TLStateNodeConstructor-initial-member)
|
|
</details>
|
|
|
|
|
|
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
interface TLStateNodeConstructor {}
|
|
```
|
|
|
|
---
|
|
|
|
### `(new)` \{#TLStateNodeConstructor-new-1}
|
|
|
|
<Small>Public ConstructSignature</Small>
|
|
|
|
##### Parameters
|
|
|
|
|
|
<ParametersTable>
|
|
|
|
<ParametersTableRow>
|
|
<ParametersTableName>
|
|
|
|
`editor`
|
|
|
|
</ParametersTableName>
|
|
<ParametersTableDescription>
|
|
|
|
```ts
|
|
Editor
|
|
```
|
|
|
|
|
|
|
|
</ParametersTableDescription>
|
|
</ParametersTableRow>
|
|
<ParametersTableRow>
|
|
<ParametersTableName>
|
|
|
|
`parent`
|
|
|
|
<Small>(optional)</Small>
|
|
|
|
</ParametersTableName>
|
|
<ParametersTableDescription>
|
|
|
|
```ts
|
|
StateNode
|
|
```
|
|
|
|
|
|
|
|
</ParametersTableDescription>
|
|
</ParametersTableRow>
|
|
</ParametersTable>
|
|
|
|
##### Returns
|
|
|
|
|
|
```ts
|
|
StateNode
|
|
```
|
|
|
|
##### References
|
|
|
|
[Editor](/gen/editor/Editor-class), [StateNode](/gen/editor/StateNode-class)
|
|
|
|
---
|
|
|
|
## Properties
|
|
|
|
### `children` \{#TLStateNodeConstructor-children-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
children?: () => TLStateNodeConstructor[]
|
|
```
|
|
|
|
##### References
|
|
|
|
[TLStateNodeConstructor](/gen/editor/TLStateNodeConstructor-interface)
|
|
|
|
---
|
|
|
|
### `id` \{#TLStateNodeConstructor-id-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
id: string
|
|
```
|
|
|
|
---
|
|
|
|
### `initial` \{#TLStateNodeConstructor-initial-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
initial?: string
|
|
```
|
|
|
|
---
|
|
|