33 lines
598 B
JavaScript
33 lines
598 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const Container = styled.div`
|
|
background-color: white;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 10px;
|
|
height: 40px;
|
|
justify-content: space-around;
|
|
position: fixed;
|
|
width: 100%;
|
|
`;
|
|
|
|
const TabButton = styled.button`
|
|
background: rgba(240, 240, 240);
|
|
border-radius: 6px;
|
|
border: none;
|
|
cursor: pointer;
|
|
height: 100%;
|
|
width: 100%;
|
|
`;
|
|
|
|
export function NavigationBar() {
|
|
return (
|
|
<Container>
|
|
<TabButton>Tab1</TabButton>
|
|
<TabButton>Tab2</TabButton>
|
|
<TabButton>Tab3</TabButton>
|
|
</Container>
|
|
);
|
|
}
|