Skip to content

Commit da275a2

Browse files
committed
refactor: change jsx to js
1 parent a28d065 commit da275a2

22 files changed

Lines changed: 46 additions & 46 deletions

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Blk• Design System React
8989
└── src
9090
├── index.js
9191
├── variables
92-
│   └── charts.jsx
92+
│   └── charts.js
9393
├── assets
9494
│   ├── css
9595
│   │   ├── blk-design-system-react.css
@@ -120,30 +120,30 @@ Blk• Design System React
120120
│   └── blk-design-system-react.scss
121121
├── components
122122
│   ├── Footer
123-
│   │   └── Footer.jsx
123+
│   │   └── Footer.js
124124
│   ├── Navbars
125-
│   │   ├── ComponentsNavbar.jsx
126-
│   │   └── ExamplesNavbar.jsx
125+
│   │   ├── ComponentsNavbar.js
126+
│   │   └── ExamplesNavbar.js
127127
│   └── PageHeader
128-
│   └── PageHeader.jsx
128+
│   └── PageHeader.js
129129
└── views
130-
├── Index.jsx
130+
├── Index.js
131131
├── IndexSections
132-
│   ├── Basics.jsx
133-
│   ├── Download.jsx
134-
│   ├── Examples.jsx
135-
│   ├── JavaScript.jsx
136-
│   ├── Navbars.jsx
137-
│   ├── Notifications.jsx
138-
│   ├── NucleoIcons.jsx
139-
│   ├── Pagination.jsx
140-
│   ├── Signup.jsx
141-
│   ├── Tabs.jsx
142-
│   └── Typography.jsx
132+
│   ├── Basics.js
133+
│   ├── Download.js
134+
│   ├── Examples.js
135+
│   ├── JavaScript.js
136+
│   ├── Navbars.js
137+
│   ├── Notifications.js
138+
│   ├── NucleoIcons.js
139+
│   ├── Pagination.js
140+
│   ├── Signup.js
141+
│   ├── Tabs.js
142+
│   └── Typography.js
143143
└── examples
144-
├── LandingPage.jsx
145-
├── ProfilePage.jsx
146-
└── RegisterPage.jsx
144+
├── LandingPage.js
145+
├── ProfilePage.js
146+
└── RegisterPage.js
147147
```
148148

149149

src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import "assets/css/nucleo-icons.css";
2323
import "assets/scss/blk-design-system-react.scss?v=1.0.0";
2424
import "assets/demo/demo.css";
2525

26-
import Index from "views/Index.jsx";
27-
import LandingPage from "views/examples/LandingPage.jsx";
28-
import RegisterPage from "views/examples/RegisterPage.jsx";
29-
import ProfilePage from "views/examples/ProfilePage.jsx";
26+
import Index from "views/Index.js";
27+
import LandingPage from "views/examples/LandingPage.js";
28+
import RegisterPage from "views/examples/RegisterPage.js";
29+
import ProfilePage from "views/examples/ProfilePage.js";
3030

3131
ReactDOM.render(
3232
<BrowserRouter>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1616
1717
*/
18-
// used inside src/views/examples/LandingPage.jsx
18+
// used inside src/views/examples/LandingPage.js
1919
const bigChart = {
2020
data: canvas => {
2121
let ctx = canvas.getContext("2d");
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818
import React from "react";
1919

2020
// core components
21-
import IndexNavbar from "components/Navbars/IndexNavbar.jsx";
22-
import PageHeader from "components/PageHeader/PageHeader.jsx";
23-
import Footer from "components/Footer/Footer.jsx";
21+
import IndexNavbar from "components/Navbars/IndexNavbar.js";
22+
import PageHeader from "components/PageHeader/PageHeader.js";
23+
import Footer from "components/Footer/Footer.js";
2424

2525
// sections for this page/view
26-
import Basics from "views/IndexSections/Basics.jsx";
27-
import Navbars from "views/IndexSections/Navbars.jsx";
28-
import Tabs from "views/IndexSections/Tabs.jsx";
29-
import Pagination from "views/IndexSections/Pagination.jsx";
30-
import Notifications from "views/IndexSections/Notifications.jsx";
31-
import Typography from "views/IndexSections/Typography.jsx";
32-
import JavaScript from "views/IndexSections/JavaScript.jsx";
33-
import NucleoIcons from "views/IndexSections/NucleoIcons.jsx";
34-
import Signup from "views/IndexSections/Signup.jsx";
35-
import Examples from "views/IndexSections/Examples.jsx";
36-
import Download from "views/IndexSections/Download.jsx";
26+
import Basics from "views/IndexSections/Basics.js";
27+
import Navbars from "views/IndexSections/Navbars.js";
28+
import Tabs from "views/IndexSections/Tabs.js";
29+
import Pagination from "views/IndexSections/Pagination.js";
30+
import Notifications from "views/IndexSections/Notifications.js";
31+
import Typography from "views/IndexSections/Typography.js";
32+
import JavaScript from "views/IndexSections/JavaScript.js";
33+
import NucleoIcons from "views/IndexSections/NucleoIcons.js";
34+
import Signup from "views/IndexSections/Signup.js";
35+
import Examples from "views/IndexSections/Examples.js";
36+
import Download from "views/IndexSections/Download.js";
3737

3838
class Index extends React.Component {
3939
componentDidMount() {

0 commit comments

Comments
 (0)