Skip to content

Commit 2ac51b3

Browse files
committed
changes to example project
1 parent 2e025fd commit 2ac51b3

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import './App.css';
33
import MyLibrary from "vertical-stepper";
44
function App() {
55
return (
6+
<div style={{ width:'fit-content', height:'50vh', paddingTop:'10vh', paddingLeft:'10vh'}}>
67
<MyLibrary />
8+
</div>
79
);
810
}
911

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(

src/stepper-component/styles.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.stepperContainer {
22
display: flex;
3+
width: 100%;
4+
height: 100%;
5+
background-color: red;
36
}

0 commit comments

Comments
 (0)