Skip to content

Commit

Permalink
update jsx references
Browse files Browse the repository at this point in the history
  • Loading branch information
aligg committed Dec 23, 2024
1 parent d1ba82b commit 58f3089
Show file tree
Hide file tree
Showing 107 changed files with 107 additions and 107 deletions.
2 changes: 1 addition & 1 deletion src/components/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, type JSX } from 'react'
import React, { useState, JSX } from 'react'
import classnames from 'classnames'

import { HeadingLevel } from '../../types/headingLevel'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export type ButtonProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ButtonGroup/ButtonGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

type ButtonGroupProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/Collection.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

type CollectionProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/CollectionDescription.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classname from 'classnames'

export const CollectionDescription = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/CollectionItem.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface CollectionItemProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/CollectionMeta.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export const CollectionMeta = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/CollectionMetaItem.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export const CollectionMetaItem = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/CollectionMetaItemTag.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface CollectionMetaItemTagProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collection/CollectionThumbnail.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export const CollectionThumbnail = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer/SocialLinks/SocialLinks.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable jsx-a11y/anchor-is-valid */
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'
import { Icon } from '../../Icon/Icons'
import { IconProps } from '../../Icon/Icon'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface USWDSIconProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconList/IconList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classnames from 'classnames'

interface IconListProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import classnames from 'classnames'
import React, { ReactElement, ReactNode, type JSX } from 'react'
import React, { ReactElement, ReactNode, JSX } from 'react'

interface IconListContentProps {
className?: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconList/IconListIcon/IconListIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import classnames from 'classnames'
import React, { ReactElement, ReactNode, type JSX } from 'react'
import React, { ReactElement, ReactNode, JSX } from 'react'

interface IconListIconProps {
className?: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconList/IconListItem/IconListItem.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, ReactNode, type JSX } from 'react'
import React, { ReactElement, ReactNode, JSX } from 'react'
import classnames from 'classnames'

interface IconListItemProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconList/IconListTitle/IconListTitle.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classnames from 'classnames'
import { HeadingLevel } from '../../../types/headingLevel'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Identifier/Identifier/Identifier.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

type IdentifierProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Identifier/IdentifierGov/IdentifierGov.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface IdentifierGovProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface IdentifierIdentityProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { render } from '@testing-library/react'
import { IdentifierLink } from './IdentifierLink'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export interface IdentifierLinkItemProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { render } from '@testing-library/react'

import { IdentifierLinks } from './IdentifierLinks'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classnames from 'classnames'
import { IdentifierLinkItemProps } from '../IdentifierLinkItem/IdentifierLinkItem'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export interface IdentifierLogoProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface IdentifierLogosProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface IdentifierMastheadProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/InPageNavigation/InPageNavigation.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState, type JSX } from 'react'
import React, { useEffect, useState, JSX } from 'react'
import classnames from 'classnames'
import { HeadingLevel } from '../../types/headingLevel'
import { Link } from '../Link/Link'
Expand Down
2 changes: 1 addition & 1 deletion src/components/LanguageSelector/LanguageSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, type JSX } from 'react'
import React, { useState, JSX } from 'react'
import classnames from 'classnames'
import { LanguageSelectorButton } from './LanguageSelectorButton'
import LanguageSelectorDropdown from './LanguageSelectorDropdown'
Expand Down
2 changes: 1 addition & 1 deletion src/components/LanguageSelector/LanguageSelectorButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

type LanguageSelectorButtonProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Link/Link.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { Link } from './Link'

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Link/Link.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { render } from '@testing-library/react'

import { Link } from './Link'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Link/Link.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

// These props we want to require always, even on custom components
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, {
useRef,
forwardRef,
useImperativeHandle,
type JSX,
JSX,
} from 'react'
import FocusTrap from 'focus-trap-react'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/ModalCloseButton/ModalCloseButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { Icon } from '../../Icon/Icons'
import { Button } from '../../Button/Button'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/ModalFooter/ModalFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface ModalFooterProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/ModalOpenLink.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { render, screen, waitFor } from '@testing-library/react'

import { ModalRef } from './Modal'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/ModalToggleButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'

import { ModalRef } from './Modal'
import { ButtonProps, Button } from '../Button/Button'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/ModalWindow/ModalWindow.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { forwardRef, type JSX } from 'react'
import React, { forwardRef, JSX } from 'react'
import classnames from 'classnames'

import { ModalCloseButton } from '../ModalCloseButton/ModalCloseButton'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/ModalWrapper/ModalWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { forwardRef, type JSX } from 'react'
import React, { forwardRef, JSX } from 'react'
import classnames from 'classnames'

interface ModalWrapperProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pagination/Pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'
import { Icon } from '../Icon/Icons'
import { Link } from '../Link/Link'
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProcessList/ProcessList/ProcessList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'
import { ProcessListItemProps } from '../ProcessListItem/ProcessListItem'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'
import { HeadingLevel } from '../../../types/headingLevel'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

export interface ProcessListItemProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/SearchField/SearchField.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

import { Label } from '../../forms/Label/Label'
Expand Down
2 changes: 1 addition & 1 deletion src/components/SiteAlert/SiteAlert.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

type SiteAlertProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SummaryBox/SummaryBox/SummaryBox.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'

import classnames from 'classnames'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

interface SummaryBoxTextProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tag/Tag.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'

type TagProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tooltip/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { Tooltip } from './Tooltip'

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tooltip/Tooltip.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { fireEvent, render, screen } from '@testing-library/react'

import { Tooltip } from './Tooltip'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React, {
useEffect,
useRef,
useState,
type JSX,
JSX,
} from 'react'
import classnames from 'classnames'

Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/Banner/Banner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classNames from 'classnames'

type BannerProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/BannerButton/BannerButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classNames from 'classnames'

type BannerButtonProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/BannerContent/BannerContent.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classNames from 'classnames'

type BannerContentProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/BannerFlag/BannerFlag.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classNames from 'classnames'

export const BannerFlag = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/BannerGuidance/BannerGuidance.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classNames from 'classnames'

export const BannerGuidance = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/BannerHeader/BannerHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, ReactNode, type JSX } from 'react'
import React, { ReactElement, ReactNode, JSX } from 'react'
import classNames from 'classnames'

type BannerHeaderProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/BannerIcon/BannerIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classNames from 'classnames'

export const BannerIcon = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/GovBanner/GovBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, useState, type JSX } from 'react'
import React, { ReactElement, useState, JSX } from 'react'
import { Banner } from '../Banner/Banner'
import { BannerHeader } from '../BannerHeader/BannerHeader'
import { BannerFlag } from '../BannerFlag/BannerFlag'
Expand Down
2 changes: 1 addition & 1 deletion src/components/breadcrumb/Breadcrumb/Breadcrumb.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import classnames from 'classnames'
export interface BreadcrumbProps {
children: React.ReactNode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { Breadcrumb } from '../Breadcrumb/Breadcrumb'
import { BreadcrumbBar } from './BreadcrumbBar'
import { BreadcrumbLink } from '../BreadcrumbLink/BreadcrumbLink'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { render } from '@testing-library/react'
import { Breadcrumb } from '../Breadcrumb/Breadcrumb'
import { BreadcrumbBar } from './BreadcrumbBar'
Expand Down
2 changes: 1 addition & 1 deletion src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactElement, type JSX } from 'react'
import React, { ReactElement, JSX } from 'react'
import classnames from 'classnames'
import { BreadcrumbProps } from '../Breadcrumb/Breadcrumb'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type JSX } from 'react'
import React, { JSX } from 'react'
import { render } from '@testing-library/react'
import { BreadcrumbLink } from './BreadcrumbLink'

Expand Down
Loading

0 comments on commit 58f3089

Please sign in to comment.