Skip to content

Commit dd0f8c8

Browse files
committed
Add example
1 parent 71e9a78 commit dd0f8c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/LogicGateReceiverComponent.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ The identifiers of the `Logic*Sender` components that are connected to this `Log
9696
- Since: `v2`
9797
- `<Array<number>>`
9898

99+
```ts
100+
import { LogicGateReceiverComponent } from 'att-string-transcoder';
101+
102+
const componentVersion = 2;
103+
const component = new LogicGateReceiverComponent({ version: componentVersion });
104+
105+
const senders = component.senders;
106+
// `senders` is `[]`
107+
```
108+
99109
---
100110

101111
### `operationType`

0 commit comments

Comments
 (0)