PageCommentNotification.tsx 410 B

1234567891011121314151617
  1. import React from 'react';
  2. import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
  3. interface Props {
  4. actionUsers: string
  5. notification: IInAppNotification
  6. onClick: () => void
  7. }
  8. export const PageCommentNotification = (props: Props): JSX.Element => {
  9. return (
  10. <>
  11. <b>{props.actionUsers}</b> commented on {props.notification.target.path}
  12. </>
  13. );
  14. };