mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
20 lines
499 B
TypeScript
20 lines
499 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',
|
|
svg: {
|
|
color: 'transparent',
|
|
width: style?.width ?? '248px',
|
|
height: style?.height ?? '216px',
|
|
fontSize: style?.fontSize ?? 'inherit',
|
|
},
|
|
};
|
|
}
|
|
);
|