You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
442 B
28 lines
442 B
import styled from 'styled-components' |
|
// lib |
|
import palette from 'lib/styles/palette' |
|
|
|
const Item = ({ text }: Props) => { |
|
return ( |
|
<Container> |
|
<span>{text}</span> |
|
</Container> |
|
); |
|
} |
|
|
|
const Container = styled.div` |
|
height: 100%; |
|
flex-basis: 100%; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
& > span { |
|
color: ${palette.gray4}; |
|
} |
|
`; |
|
|
|
interface Props { |
|
text: string; |
|
} |
|
|
|
export default Item; |