---
source: crates/tinymist-query/src/hover.rs
expression: content
input_file: crates/tinymist-query/src/fixtures/hover/jsx.typ
---
Range: 4:20:4:27

```typc
let Counter(
  initialCounter: int = 0,
) = content | none;
```


======


Creates a counter component.

# Named Parameters

## initialCounter

```typc
type: 0 | int
```

The initial value for the counter.
