mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-01 06:10:16 +08:00
feat: forced file naming format (#2270)
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import type { SvgIconProps } from '@mui/material/SvgIcon';
|
||||
import SvgIcon from '@mui/material/SvgIcon';
|
||||
|
||||
export const EmptySVG = (_props: SvgIconProps) => {
|
||||
export const EmptySvg = (_props: SvgIconProps) => {
|
||||
return (
|
||||
<SvgIcon
|
||||
width="200"
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import type { CSSProperties } from 'react';
|
||||
|
||||
import { EmptySVG } from './EmptySVG';
|
||||
import { EmptySvg } from './empty-svg';
|
||||
import { StyledEmptyContainer } from './style';
|
||||
export type EmptyContentProps = {
|
||||
containerStyle?: CSSProperties;
|
||||
@@ -15,7 +15,7 @@ export const Empty = ({
|
||||
}: EmptyContentProps) => {
|
||||
return (
|
||||
<StyledEmptyContainer style={containerStyle}>
|
||||
<EmptySVG />
|
||||
<EmptySvg />
|
||||
<p style={descriptionStyle}>{description}</p>
|
||||
</StyledEmptyContainer>
|
||||
);
|
||||
@@ -1 +1 @@
|
||||
export * from './Empty';
|
||||
export * from './empty';
|
||||
|
||||
Reference in New Issue
Block a user