Skip to content

Commit 9dbd221

Browse files
committed
reordering imports
1 parent f822ff6 commit 9dbd221

File tree

12 files changed

+13
-16
lines changed

12 files changed

+13
-16
lines changed

src/components/content-presentation/details/Details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { HTMLProps, FC } from 'react';
1+
import React, { FC, HTMLProps } from 'react';
22
import classNames from 'classnames';
33

44
interface DetailsProps extends HTMLProps<HTMLDetailsElement> {

src/components/content-presentation/do-and-dont-list/DoAndDontList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use client';
2-
import React, { createContext, useContext, HTMLProps, FC, ReactNode } from 'react';
2+
import React, { FC, HTMLProps, createContext, useContext, ReactNode } from 'react';
33
import classNames from 'classnames';
44
import { Tick, Cross } from '@components/content-presentation/icons';
55
import HeadingLevel, { HeadingLevelType } from '@components/utils/HeadingLevel';

src/components/content-presentation/hero/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { HTMLProps, FC } from 'react';
1+
import React, { FC, HTMLProps } from 'react';
22
import classNames from 'classnames';
33
import { Container, Row, Col } from '../../layout';
44
import HeadingLevel, { HeadingLevelType } from '@components/utils/HeadingLevel';

src/components/content-presentation/icons/BaseIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { HTMLProps, FC } from 'react';
1+
import React, { FC, HTMLProps } from 'react';
22
import classNames from 'classnames';
33

44
export interface BaseIconSVGProps extends HTMLProps<SVGSVGElement> {

src/components/content-presentation/table/Table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentProps, FC, HTMLProps, ReactNode, useMemo, useState } from 'react';
1+
import React, { ComponentProps, FC, HTMLProps, ReactNode, useMemo, useState } from 'react';
22
import classNames from 'classnames';
33
import TableBody from './components/TableBody';
44
import TableCaption from './components/TableCaption';

src/components/form-elements/date-input/DateInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import React, { ChangeEvent, HTMLProps, useEffect, useState } from 'react';
3+
import React, { HTMLProps, ChangeEvent, useEffect, useState } from 'react';
44
import classNames from 'classnames';
55
import { DayInput, MonthInput, YearInput } from './components/IndividualDateInputs';
66
import SingleInputFormGroup from '@components/utils/SingleInputFormGroup';

src/components/form-elements/error-summary/ErrorSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {
22
FC,
3-
forwardRef,
43
ForwardRefExoticComponent,
4+
forwardRef,
55
HTMLProps,
66
PropsWithoutRef,
77
RefAttributes,

src/components/navigation/action-link/ActionLink.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import * as React from 'react';
2-
import { FC } from 'react';
1+
import React, { FC } from 'react';
32
import classNames from 'classnames';
43
import { ArrowRightCircle } from '@components/content-presentation/icons';
54
import type { AsElementLink } from '@util/types/LinkTypes';

src/components/navigation/back-link/BackLink.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import * as React from 'react';
2-
import { FC } from 'react';
1+
import React, { FC } from 'react';
32
import classNames from 'classnames';
43
import type { AsElementLink } from '@util/types/LinkTypes';
54
import { ChevronLeft } from '@components/content-presentation/icons/individual/ChevronLeft';

src/components/navigation/breadcrumb/Breadcrumb.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import * as React from 'react';
1+
import React, { Children, FC, HTMLProps, ReactNode } from 'react';
22
import classNames from 'classnames';
3-
import type { AsElementLink } from '@util/types/LinkTypes';
3+
import { AsElementLink } from '@util/types/LinkTypes';
44
import { childIsOfComponentType } from '@util/types/TypeGuards';
5-
import { FC, HTMLProps, ReactNode } from 'react';
65

76
type ItemProps = AsElementLink<'a'>;
87

0 commit comments

Comments
 (0)