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.
23 lines
406 B
23 lines
406 B
import styled from 'styled-components' |
|
// lib |
|
import palette from 'lib/styles/palette' |
|
|
|
const MenuEmpty = ({ text }: Props) => { |
|
return <Content>{text}</Content>; |
|
} |
|
|
|
const Content = styled.div` |
|
flex-grow: 1; |
|
height: auto; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
color: ${palette.blue2}; |
|
font-size: 14px; |
|
`; |
|
|
|
interface Props { |
|
text: string; |
|
} |
|
|
|
export default MenuEmpty |