Skip to content

Commit

Permalink
PageHeaderCointainer is a reusable component
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitardanailov committed May 23, 2024
1 parent 9f4744d commit 9ddd5a1
Showing 1 changed file with 32 additions and 0 deletions.
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

0 comments on commit 9ddd5a1

Please sign in to comment.