mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 08:06:24 +08:00
20 lines
520 B
TypeScript
20 lines
520 B
TypeScript
import type { CSSProperties } from 'react';
|
|
|
|
import { displayFlex, styled } from '../../styles';
|
|
|
|
export const StyledEmptyContainer = styled('div')<{ style?: CSSProperties }>(
|
|
({ style }) => {
|
|
return {
|
|
height: '100%',
|
|
...displayFlex('center', 'center'),
|
|
flexDirection: 'column',
|
|
color: 'var(--affine-text-secondary-color)',
|
|
svg: {
|
|
width: style?.width ?? '248px',
|
|
height: style?.height ?? '216px',
|
|
fontSize: style?.fontSize ?? 'inherit',
|
|
},
|
|
};
|
|
}
|
|
);
|