diff options
Diffstat (limited to 'src/components/ui/toggle')
-rw-r--r-- | src/components/ui/toggle/index.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/ui/toggle/index.tsx b/src/components/ui/toggle/index.tsx index 878ffecdc..dc426b3a1 100644 --- a/src/components/ui/toggle/index.tsx +++ b/src/components/ui/toggle/index.tsx | |||
@@ -1,13 +1,13 @@ | |||
1 | import classnames from 'classnames'; | 1 | import classnames from 'classnames'; |
2 | import { Property } from 'csstype'; | 2 | import type { Property } from 'csstype'; |
3 | import { noop } from 'lodash'; | 3 | import { noop } from 'lodash'; |
4 | import { Component, InputHTMLAttributes, ReactElement } from 'react'; | 4 | import { Component, type InputHTMLAttributes, type ReactElement } from 'react'; |
5 | import withStyles, { WithStylesProps } from 'react-jss'; | 5 | import withStyles, { type WithStylesProps } from 'react-jss'; |
6 | import { Theme } from '../../../themes'; | 6 | import type { Theme } from '../../../themes'; |
7 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | 7 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> |
8 | import Error from '../error'; | 8 | import Error from '../error'; |
9 | import Label from '../label'; | 9 | import Label from '../label'; |
10 | import { IFormField } from '../typings/generic'; | 10 | import type { IFormField } from '../typings/generic'; |
11 | import Wrapper from '../wrapper'; | 11 | import Wrapper from '../wrapper'; |
12 | 12 | ||
13 | const buttonTransition: string = window?.matchMedia( | 13 | const buttonTransition: string = window?.matchMedia( |