Skip to content

Commit de7312d

Browse files
Configuration - style, typescript, webpack
2 parents 3a50130 + 2ac51b3 commit de7312d

16 files changed

Lines changed: 9218 additions & 15214 deletions

File tree

example/src/App.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

example/src/App.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from 'react';
2+
import './App.css';
3+
import MyLibrary from "vertical-stepper";
4+
function App() {
5+
return (
6+
<div style={{ width:'fit-content', height:'50vh', paddingTop:'10vh', paddingLeft:'10vh'}}>
7+
<MyLibrary />
8+
</div>
9+
);
10+
}
11+
12+
export default App;

example/src/index.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 ReactDOM from 'react-dom/client';
33
import './index.css';
4-
import App from './App';
4+
import App from './App.tsx';
55

66
const root = ReactDOM.createRoot(document.getElementById('root'));
77
root.render(

global.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module '*.scss' {
2+
const content: {[className: string]: string};
3+
export = content;
4+
}

0 commit comments

Comments
 (0)