-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathSwither.jsx
35 lines (31 loc) · 1010 Bytes
/
Swither.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import React from "react";
import { Button, ButtonToolbar, ButtonGroup } from "react-bootstrap";
import "./Switcher.css"; // Importing the CSS
const Switcher = () => {
const containerStyle = {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
minHeight: '100vh',
backgroundColor: 'rgb(3, 128, 252)',
};
return (
<div style={containerStyle}>
<ButtonToolbar>
<ButtonGroup>
<Button className="button-style">1</Button>
<Button className="button-style">2</Button>
<Button className="button-style">3</Button>
<Button className="button-style">4</Button>
</ButtonGroup>
<ButtonGroup>
<Button className="button-style">5</Button>
<Button className="button-style">6</Button>
<Button className="button-style">7</Button>
<Button className="button-style">8</Button>
</ButtonGroup>
</ButtonToolbar>
</div>
);
};
export default Switcher;