Skip to content

Commit 56b449c

Browse files
committed
update readme to include position
1 parent 42ef67b commit 56b449c

File tree

7 files changed

+114
-106
lines changed

7 files changed

+114
-106
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ const App = () => {
6767

6868
Common props you may want to specify include:
6969
### Sidebar
70-
- `bgColor` - change the color of the sidebar it can be `black`, `light`, `blue`, `purple`, `aqua`, `peach`
70+
- `bgColor` - change the color of the sidebar, it can be `black`, `light`, `blue`, `purple`, `aqua`, `peach`
7171
- `isCollapsed` - add start position of the sidebar if it will be collapsed or not
7272
- `classes` - add your custom classes if you want to add custom style to the component
73+
- `position` - add where to the sidebar will be positioned on the screen, it can be `left` and `right`. If you don't specify it will be `left`.
7374
### DropdownItem
7475
- `bgColor` - change the color of the sidebar it can be `black`, `light`, `blue`, `purple`, `aqua`, `peach`
7576
- `values` - items that will be displayed

dist/index.css

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
font-family: 'Montserrat', sans-serif;
55
}
66

7-
._styles-module__bg-red__2a97v {
7+
._2a97v {
88
background-color: crimson;
99
}
1010

11-
._styles-module__bg-white__mra1C {
11+
._mra1C {
1212
background-color: white;
1313
}
1414

15-
._styles-module__container-wrapper__13dNw {
15+
._13dNw {
1616
width: 250px;
1717
height: 100vh;
1818
background-color: deepskyblue;
@@ -22,17 +22,17 @@
2222
transition: all .3s ease-in-out;
2323
}
2424

25-
._styles-module__pos-left__17SmE {
25+
._17SmE {
2626
position: fixed;
2727
left: 0;
2828
top: 0;
2929
}
3030

31-
._styles-module__pos-right__1NTmL {
31+
._1NTmL {
3232

3333
}
3434

35-
._styles-module__item__VrCvP {
35+
._VrCvP {
3636
width: 95%;
3737
padding: 10px 0;
3838
padding-left: 12px;
@@ -41,81 +41,81 @@
4141
text-align: left;
4242
}
4343

44-
._styles-module__item__VrCvP:hover {
44+
._VrCvP:hover {
4545
background-color: #0377DA;
4646
padding: 14px 0;
4747
padding-left: 12px;
4848
transition: all .3s ease-in-out;
4949
}
5050

51-
._styles-module__icon__2Vept {
51+
._2Vept {
5252
padding-right: 10px;
5353
display: inline-block;
5454
width: 20%;
5555
font-size: 15px;
5656
}
5757

58-
._styles-module__bg-blue__26ojv {
58+
._26ojv {
5959
background-color: #3960D0;
6060
color: white;
6161
}
6262

63-
._styles-module__blue-hover__2nNpb:hover {
63+
._2nNpb:hover {
6464
background-color: #609BEB;
6565
color: white;
6666
}
6767

68-
._styles-module__bg-light__36YqV {
68+
._36YqV {
6969
background-color: #FFFEFF;
7070
color: black;
7171
}
7272

73-
._styles-module__light-hover__8tJF8:hover {
73+
._8tJF8:hover {
7474
background-color: #F6F6F6;
7575
}
7676

77-
._styles-module__bg-black__2Ll57 {
77+
._2Ll57 {
7878
background-color: #1c1e2a;
7979
color: white;
8080
}
8181

82-
._styles-module__black-hover__3HbC6:hover {
82+
._3HbC6:hover {
8383
background-color: #2C2F3E;
8484
color: white;
8585
}
8686

87-
._styles-module__dropdown-item__GubVm {
87+
._GubVm {
8888
text-align: left;
8989
cursor: pointer;
9090
}
9191

92-
._styles-module__mx-1__3ow2- {
92+
._3ow2- {
9393
margin: 0 1em;
9494
}
9595

96-
._styles-module__d-none__2fnX0 {
96+
._2fnX0 {
9797
display: none;
9898
}
9999

100-
._styles-module__d-block__-s3Rh {
100+
._-s3Rh {
101101
display: block;
102102
position: relative;
103103
}
104104

105-
._styles-module__logo-image__3qnVN {
105+
._3qnVN {
106106
width: 100px;
107107
margin-top: 1em;
108108
}
109109

110-
._styles-module__toggler__2_oI1 {
110+
._2_oI1 {
111111
position: absolute;
112112
right: 15px;
113113
top: 15px;
114114
font-size: 22px;
115115
cursor: pointer;
116116
}
117117

118-
._styles-module__collapsed__2Q5t5 {
118+
._2Q5t5 {
119119
width: 85px;
120120
}
121121

@@ -125,40 +125,40 @@ input {
125125
box-sizing: border-box;
126126
}
127127

128-
._styles-module__pos-left__17SmE {
128+
._17SmE {
129129
left: 0;
130130
}
131131

132-
._styles-module__pos-right__1NTmL {
132+
._1NTmL {
133133
right: 0;
134134
}
135135

136-
._styles-module__bg-peach__1vjRi {
136+
._1vjRi {
137137
background-color: #FD7E65;
138138
color: white;
139139
}
140140

141-
._styles-module__bg-peach-hover__2PHvo:hover {
141+
._2PHvo:hover {
142142
background-color: #FD9768;
143143
}
144144

145-
._styles-module__bg-purple__1tllo {
145+
._1tllo {
146146
background-color: #A771E4;
147147
color: white;
148148
}
149149

150-
._styles-module__bg-purple-hover__lbp0_:hover {
150+
._lbp0_:hover {
151151
background-color: #E26FCF;
152152
}
153153

154-
._styles-module__bg-aqua__2maJj {
154+
._2maJj {
155155
background-color: #1DA4F4;
156156
color: white;
157157
}
158158

159-
._styles-module__bg-aqua-hover__1NfpZ:hover {
159+
._1NfpZ:hover {
160160
background-color: #16BCDE;
161161
}
162-
._styles-module__float-right__2TMpC {
162+
._2TMpC {
163163
float: right;
164164
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)