Skip to content

Commit 49e86ad

Browse files
committed
chore: switches view rearrange
1 parent d1d3887 commit 49e86ad

File tree

1 file changed

+36
-37
lines changed

1 file changed

+36
-37
lines changed

src/views/Base/Switches/Switches.js

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,42 @@ class Switches extends Component {
88
<div className="animated fadeIn">
99

1010
<Row>
11+
<Col xs="12" md="6">
12+
<Card>
13+
<CardHeader>
14+
Switch default
15+
</CardHeader>
16+
<CardBody>
17+
<AppSwitch className={'mx-1'} color={'primary'} checked />
18+
<AppSwitch className={'mx-1'} color={'secondary'} checked />
19+
<AppSwitch className={'mx-1'} color={'success'} checked />
20+
<AppSwitch className={'mx-1'} color={'warning'} checked />
21+
<AppSwitch className={'mx-1'} color={'info'} checked />
22+
<AppSwitch className={'mx-1'} color={'danger'} checked />
23+
<AppSwitch className={'mx-1'} color={'light'} checked />
24+
<AppSwitch className={'mx-1'} color={'dark'} checked />
25+
<AppSwitch className={'mx-1'} color={'primary'} disabled />
26+
</CardBody>
27+
</Card>
28+
</Col>
29+
<Col xs="12" md="6">
30+
<Card>
31+
<CardHeader>
32+
Switch pills
33+
</CardHeader>
34+
<CardBody>
35+
<AppSwitch className={'mx-1'} variant={'pill'} color={'primary'} checked />
36+
<AppSwitch className={'mx-1'} variant={'pill'} color={'secondary'} checked />
37+
<AppSwitch className={'mx-1'} variant={'pill'} color={'success'} checked />
38+
<AppSwitch className={'mx-1'} variant={'pill'} color={'warning'} checked />
39+
<AppSwitch className={'mx-1'} variant={'pill'} color={'info'} checked />
40+
<AppSwitch className={'mx-1'} variant={'pill'} color={'danger'} checked />
41+
<AppSwitch className={'mx-1'} variant={'pill'} color={'light'} checked />
42+
<AppSwitch className={'mx-1'} variant={'pill'} color={'dark'} checked />
43+
<AppSwitch className={'mx-1'} variant={'pill'} color={'primary'} disabled />
44+
</CardBody>
45+
</Card>
46+
</Col>
1147
<Col xs="12" md="6">
1248
<Card>
1349
<CardHeader>
@@ -117,43 +153,6 @@ class Switches extends Component {
117153
</CardBody>
118154
</Card>
119155
</Col>
120-
<Col xs="12" md="6">
121-
<Card>
122-
<CardHeader>
123-
Switch default
124-
</CardHeader>
125-
<CardBody>
126-
<AppSwitch className={'mx-1'} color={'primary'} checked />
127-
<AppSwitch className={'mx-1'} color={'secondary'} checked />
128-
<AppSwitch className={'mx-1'} color={'success'} checked />
129-
<AppSwitch className={'mx-1'} color={'warning'} checked />
130-
<AppSwitch className={'mx-1'} color={'info'} checked />
131-
<AppSwitch className={'mx-1'} color={'danger'} checked />
132-
<AppSwitch className={'mx-1'} color={'light'} checked />
133-
<AppSwitch className={'mx-1'} color={'dark'} checked />
134-
<AppSwitch className={'mx-1'} color={'primary'} disabled />
135-
</CardBody>
136-
</Card>
137-
</Col>
138-
<Col xs="12" md="6">
139-
<Card>
140-
<CardHeader>
141-
Switch pills
142-
</CardHeader>
143-
<CardBody>
144-
<AppSwitch className={'mx-1'} variant={'pill'} color={'primary'} checked />
145-
<AppSwitch className={'mx-1'} variant={'pill'} color={'secondary'} checked />
146-
<AppSwitch className={'mx-1'} variant={'pill'} color={'success'} checked />
147-
<AppSwitch className={'mx-1'} variant={'pill'} color={'warning'} checked />
148-
<AppSwitch className={'mx-1'} variant={'pill'} color={'info'} checked />
149-
<AppSwitch className={'mx-1'} variant={'pill'} color={'danger'} checked />
150-
<AppSwitch className={'mx-1'} variant={'pill'} color={'light'} checked />
151-
<AppSwitch className={'mx-1'} variant={'pill'} color={'dark'} checked />
152-
<AppSwitch className={'mx-1'} variant={'pill'} color={'primary'} disabled />
153-
</CardBody>
154-
</Card>
155-
</Col>
156-
157156
<Col xs="12" md="6">
158157
<Card>
159158
<CardHeader>

0 commit comments

Comments
 (0)