refactor: adjust base components export

This commit is contained in:
GyDi
2022-11-20 22:03:55 +08:00
parent 32b72f0ef6
commit dace993c21
34 changed files with 44 additions and 66 deletions

View File

@@ -6,7 +6,7 @@ interface Props {
extra?: React.ReactNode;
}
const BaseEmpty = (props: Props) => {
export const BaseEmpty = (props: Props) => {
const { text = "Empty", extra } = props;
return (
@@ -27,5 +27,3 @@ const BaseEmpty = (props: Props) => {
</Box>
);
};
export default BaseEmpty;