8000 fix: remove circular dependencies · damir224/coreui-react@233c771 · GitHub
[go: up one dir, main page]

Skip to content

Commit 233c771

Browse files
committed
fix: remove circular dependencies
1 parent e05c5ad commit 233c771

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/coreui-react/src/components/form/CFormCheck.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useForkedRef } from '../../utils/hooks'
66
import { Colors, Shapes } from '../Types'
77

88
import { CFormControlValidation, CFormControlValidationProps } from './CFormControlValidation'
9-
import { CFormLabel } from './'
9+
import { CFormLabel } from './CFormLabel'
1010

1111
export type ButtonObject = {
1212
/**

packages/coreui-react/src/components/form/CFormControlValidation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { FC, ReactNode } from 'react'
22

33
import PropTypes from 'prop-types'
44

5-
import { CFormFeedback } from './'
5+
import { CFormFeedback } from './CFormFeedback'
66

77
export interface CFormControlValidationProps {
88
/**

packages/coreui-react/src/components/form/CFormControlWrapper.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import React, { FC, ReactNode } from 'react'
33
import PropTypes from 'prop-types'
44

55
import { CFormControlValidation, CFormControlValidationProps } from './CFormControlValidation'
6-
import { CFormFloating, CFormLabel, CFormText } from './'
6+
import { CFormFloating } from './CFormFloating'
7+
import { CFormLabel } from './CFormLabel'
8+
import { CFormText } from './CFormText'
79

810
export interface CFormControlWrapperProps extends CFormControlValidationProps {
911
/**

0 commit comments

Comments
 (0)
0