PageCommentNotification.tsx 453 B

123456789101112131415161718
  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. return (
  11. <>
  12. <b>{props.actionUsers}</b> commented on {props.notification.target.path}
  13. </>
  14. );
  15. };