Skip to content

Commit

Permalink
fix: import JSX namespace from react
Browse files Browse the repository at this point in the history
  • Loading branch information
rowellx68 committed Feb 13, 2025
1 parent bb31046 commit cb24ab2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/early-peas-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"nhsuk-frontend-react": patch
"nhsuk-frontend-react-extension": patch
---

fix: import JSX namespace from react
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { PropsWithChildren, forwardRef } from 'react';
import React, { PropsWithChildren, forwardRef, JSX } from 'react';
import { createPolymorphicComponent } from '@/internal/factory/create-polymorphic-factory';
import { AsElementProps } from '@/types/shared';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { PropsWithChildren, forwardRef } from 'react';
import React, { PropsWithChildren, forwardRef, JSX } from 'react';
import { createPolymorphicComponent } from '@/internal/factory/create-polymorphic-factory';
import { AsElementProps } from '@/types/shared';

Expand Down

0 comments on commit cb24ab2

Please sign in to comment.