PageCommentNotification.tsx 591 B

12345678910111213141516171819202122
  1. import React from 'react';
  2. import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
  3. // import PagePath from 'components/PageList/PagePath';
  4. interface Props {
  5. actionUsers: string
  6. notification: IInAppNotification
  7. onClick: () => void
  8. }
  9. export const PageCommentNotification = (props: Props) => {
  10. console.log('propsHOge', props);
  11. return (
  12. <span>
  13. {/* TODO: show page path by #78706 */}
  14. <b>{props.actionUsers}</b> commented on {props.notification.target}
  15. {/* <PagePath page={notification.target} /> */}
  16. </span>
  17. );
  18. };