strapi-plugin-config-sync/admin/src/components/NoChanges/index.jsx

17 lines
512 B
React
Raw Normal View History

2021-11-13 14:30:16 +01:00
import React from 'react';
2024-04-03 20:55:53 +02:00
import { EmptyStateLayout } from '@strapi/design-system';
2023-10-11 20:46:51 +02:00
import { useIntl } from 'react-intl';
import { EmptyDocuments } from '@strapi/icons';
2021-11-13 14:30:16 +01:00
2023-10-11 20:46:51 +02:00
const NoChanges = () => {
const { formatMessage } = useIntl();
return (
2024-04-03 20:55:53 +02:00
<EmptyStateLayout
content={formatMessage({ id: 'config-sync.NoChanges.Message', defaultMessage: 'No differences between DB and sync directory. You are up-to-date!' })}
icon={<EmptyDocuments width={160} />}
2023-10-11 20:46:51 +02:00
/>
);
};
2021-11-13 14:30:16 +01:00
export default NoChanges;