@@ -1,6 +1,6 @@
import React from 'react';
-const FootstampIcon = () => (
+export const FootstampIcon = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
@@ -27,5 +27,3 @@ const FootstampIcon = () => (
<path d="M13.49,7.57a.81.81,0,0,0-.8.71l-.1.71a.82.82,0,0,0,.7.91h.11a.81.81,0,0,0,.8-.71l.1-.71a.81.81,0,0,0-.7-.91Z" />
</svg>
);
-
-export default FootstampIcon;
@@ -7,6 +7,7 @@ import { useTranslation, withTranslation } from 'react-i18next';
import { UserPicture } from '@growi/ui';
import { DevidedPagePath } from '@growi/core';
+import { FootstampIcon } from '../FootstampIcon';
import PagePathHierarchicalLink from '~/components/PagePathHierarchicalLink';
import { apiv3Get } from '~/client/util/apiv3-client';
@@ -16,8 +17,6 @@ import loggerFactory from '~/utils/logger';
import LinkedPagePath from '~/models/linked-page-path';
-import FootstampIcon from '../FootstampIcon';
import FormattedDistanceDate from '../FormattedDistanceDate';
@@ -5,13 +5,13 @@ import React, { useState } from 'react';
import {
Button, Popover, PopoverBody,
} from 'reactstrap';
import UserPictureList from './UserPictureList';
import { withUnstatedContainers } from '../UnstatedUtils';
import PageContainer from '~/client/services/PageContainer';
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
@@ -0,0 +1 @@
+export * from './components/FootstampIcon';
@@ -1,7 +1,7 @@
import PropTypes from 'prop-types';
import { templateChecker, pagePathUtils } from '@growi/core';
-import FootstampIcon from '../../../../app/src/components/FootstampIcon';
+import { FootstampIcon } from '@growi/app';
const { isTopPage } = pagePathUtils;
const { checkTemplatePath } = templateChecker;