-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PageHeaderCointainer is a reusable component
- Loading branch information
1 parent
9f4744d
commit 9ddd5a1
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
apps/website/src/app/demos/dashboard-trade/Components/PageHeaderContainer.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
'use client' | ||
|
||
import styled from 'styled-components' | ||
|
||
import BasicButton from '@/styled-components/Buttons/BasicButton' | ||
|
||
const Wrapper = styled.div` | ||
position: relative; | ||
display: flex; | ||
flex-direction: row; | ||
flex-direction: center; | ||
justify-content: space-end; | ||
align-items: center; | ||
width: 100%; | ||
margin: 0 auto; | ||
` | ||
|
||
const StyledButton = styled(BasicButton)` | ||
margin-left: auto; | ||
` | ||
|
||
const PageHeaderContainer = () => { | ||
return ( | ||
<Wrapper> | ||
<StyledButton type="button" fontSize="1.2rem" padding="1rem 2rem"> | ||
Refresh | ||
</StyledButton> | ||
</Wrapper> | ||
) | ||
} | ||
|
||
export default PageHeaderContainer |