mirror of
https://github.com/lux-tel/session-desktop.git
synced 2026-10-30 20:33:24 +00:00
26 lines
431 B
TypeScript
26 lines
431 B
TypeScript
/**
|
|
* @prettier
|
|
*/
|
|
|
|
import styled from 'styled-components';
|
|
|
|
interface Props {
|
|
label: string;
|
|
}
|
|
|
|
const StyledEmptyState = styled.div`
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-grow: 1;
|
|
margin-top: var(--margins-sm);
|
|
font-size: 16px;
|
|
text-align: center;
|
|
`;
|
|
|
|
export const EmptyState = (props: Props) => {
|
|
const { label } = props;
|
|
|
|
return <StyledEmptyState>{label}</StyledEmptyState>;
|
|
};
|