Skip to content

Commit 089d4ea

Browse files
adding complete-example
1 parent 541c9c1 commit 089d4ea

File tree

13 files changed

+331
-100
lines changed

13 files changed

+331
-100
lines changed

example/basic/App.css

Whitespace-only changes.

example/basic/App.js

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

example/basic/com/basic/com/eager/eagerPanel1.js

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

example/basic/com/basic/com/eager/eagerPanel2.js

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

example/basic/com/basic/index.css

Whitespace-only changes.

example/basic/com/basic/index.js

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

example/basic/com/basic/service/index.js

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

example/basic/index.js

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

example/complete-example/src/App.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
body {
2+
position: relative;
3+
left: 0px;
4+
top: 0px;
5+
margin: 0px;
6+
padding: 0px;
7+
background-color: lavender;
8+
overflow-y: scroll;
9+
overflow-x: hidden;
10+
}
11+
12+
select,
13+
button,
14+
input {
15+
outline: none;
16+
}
17+
18+
#root {
19+
position: absolute;
20+
left: 0px;
21+
right: 0px;
22+
top: 0px;
23+
bottom: 0px;
24+
}
25+
26+
#header {
27+
position: relative;
28+
margin: 15px;
29+
display: flex;
30+
align-items: center;
31+
justify-content: center;
32+
}
33+
34+
#header a {
35+
text-decoration: none;
36+
z-index: 2;
37+
}
38+
39+
#header h1 {
40+
text-align: center;
41+
color: #ab0000;
42+
margin: 0px;
43+
}
44+
45+
#actions > div {
46+
margin-right: 150px;
47+
}
48+
49+
@media only screen and (max-width: 580px) {
50+
#header {
51+
display: table;
52+
margin: auto;
53+
}
54+
}

example/complete-example/src/App.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from 'react';
2+
import './App.css';
3+
import Tabs from './components/tabs/tabs.js';
4+
function App() {
5+
return (
6+
<>
7+
<div id="header">
8+
<a href="https://github.com/dev-javascript/react-dyn-tabs" target="_blank">
9+
<h1>react-dyn-tabs</h1>
10+
</a>
11+
</div>
12+
<Tabs />
13+
</>
14+
);
15+
}
16+
17+
export default App;

0 commit comments

Comments
 (0)