feat(ott-221): init filters components (#30)
parent
a6fdfe962f
commit
4616f2b32f
@ -0,0 +1,5 @@ |
||||
import React from 'react' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const DateFilter = () => <Wrapper /> |
||||
@ -0,0 +1,3 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const Wrapper = styled.div`` |
||||
@ -1,11 +1,16 @@ |
||||
import React from 'react' |
||||
import React, { ReactNode } from 'react' |
||||
|
||||
import { Menu } from 'features/Menu' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const Header = () => ( |
||||
type HeaderProps = { |
||||
children: ReactNode, |
||||
} |
||||
|
||||
export const Header = ({ children }: HeaderProps) => ( |
||||
<Wrapper> |
||||
<Menu /> |
||||
{children} |
||||
</Wrapper> |
||||
) |
||||
|
||||
@ -0,0 +1,7 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const FilterWrapper = styled.div` |
||||
width: 288px; |
||||
height: 48px; |
||||
margin-right: 16px; |
||||
` |
||||
@ -0,0 +1,5 @@ |
||||
import React from 'react' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const MatchStatusFilter = () => <Wrapper /> |
||||
@ -0,0 +1,3 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const Wrapper = styled.div`` |
||||
@ -0,0 +1,5 @@ |
||||
import React from 'react' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const Search = () => <Wrapper /> |
||||
@ -0,0 +1,3 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const Wrapper = styled.div`` |
||||
@ -0,0 +1,5 @@ |
||||
import React from 'react' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const SportTypeFilter = () => <Wrapper /> |
||||
@ -0,0 +1,3 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const Wrapper = styled.div`` |
||||
@ -0,0 +1,5 @@ |
||||
import React from 'react' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const ToggleScore = () => <Wrapper /> |
||||
@ -0,0 +1,3 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const Wrapper = styled.div`` |
||||
@ -0,0 +1,5 @@ |
||||
import React from 'react' |
||||
|
||||
import { Wrapper } from './styled' |
||||
|
||||
export const TournamentFilter = () => <Wrapper /> |
||||
@ -0,0 +1,3 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
export const Wrapper = styled.div`` |
||||
Loading…
Reference in new issue