chore: reduce code by gndelia/codemod-replace-react-fc-typescript

This commit is contained in:
DarkSky
2022-08-12 01:26:27 +08:00
parent b4f56cda59
commit 40b617c429
73 changed files with 108 additions and 115 deletions
+2 -2
View File
@@ -20,11 +20,11 @@ const _textAlignMap: Record<
end: 'right',
};
export const Divider: FC<DividerProps> = ({
export const Divider = ({
orientation = 'horizontal',
textAlign = 'center',
children,
}) => {
}: DividerProps) => {
return (
<StyledMuiDivider
orientation={orientation}