Skip to content

Commit d73475e

Browse files
efekrsklcanerakdas
andauthored
refactor: use import type for types
Co-authored-by: Caner Akdas <[email protected]> Signed-off-by: Efe <[email protected]>
1 parent 8cbd84a commit d73475e

File tree

1 file changed

+2
-1
lines changed
  • packages/ui-components/src/Common/Switch

1 file changed

+2
-1
lines changed

packages/ui-components/src/Common/Switch/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
import * as SwitchPrimitive from '@radix-ui/react-switch';
44
import classNames from 'classnames';
5-
import { FC, PropsWithChildren, useId } from 'react';
5+
import { useId } from 'react';
6+
import type { FC, PropsWithChildren } from 'react';
67

78
import styles from './index.module.css';
89

0 commit comments

Comments
 (0)