govuk-react / govuk-react/govuk-react

Breadcrumbs error: construct or call signatures

Open
#1,198 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
458
Forks
89
PR merge metrics
No merged PRs in 30d

Description

Error when using `` as per [document](https://govuk-react.github.io/govuk-react/?path=/docs/breadcrumbs--default).
> JSX element type 'Breadcrumbs.Link' does not have any construct or call signatures.ts(2604)

**To Reproduce**
Use the below code in your VSCode Typescript project

```

Section
Sub-section
Current page

```

**Expected behavior**
No Linting or Typescript warnings

**Screenshots**
Screenshot 2023-03-06 at 17 25 43

**Desktop (please complete the following information):**
- OS: Mac
- Browser N/A
- Version N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.