8000 refactor: change project folder architecture · 48cfu/coreui-react@dcb2fd8 · GitHub
[go: up one dir, main page]

Skip to content

Commit dcb2fd8

Browse files
committed
refactor: change project folder architecture
1 parent 7cd4900 commit dcb2fd8

File tree

119 files changed

+190
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+190
-196
lines changed

src/CAlert.js renamed to src/alert/CAlert.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { useState, useEffect, useRef } from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
4-
import CFade from './CFade'
5-
import CButtonClose from './CButtonClose'
4+
import CFade from '../fade/CFade'
5+
import CButtonClose from '../button/CButtonClose'
66

77
//component - CoreUI / CAlert
88
const CAlert = props => {

src/CBadge.js renamed to src/badge/CBadge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
4-
import { tagPropType } from './utils/helper.js'
5-
import CLink from './CLink'
4+
import { tagPropType } from '../utils/helper.js'
5+
import CLink from '../link/CLink'
66

77
//component - CoreUI / CBadge
88

File renamed without changes.
File renamed without changes.

src/CBreadcrumbRouter.js renamed to src/breadcrumb/CBreadcrumbRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
4-
import { CBreadcrumb, CBreadcrumbItem } from './index'
4+
import { CBreadcrumb, CBreadcrumbItem } from '../index'
55
import { Link, useLocation } from 'react-router-dom';
66

77
//component - CoreUI / CBreadcrumbRouter

src/CButton.js renamed to src/button/CButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
4-
import { tagPropType } from './utils/helper.js'
5-
import CLink from './CLink'
4+
import { tagPropType } from '../utils/helper.js'
5+
import CLink from '../link/CLink'
66
//component - CoreUI / CButton
77

88
const CButton = props => {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
0