import type { FC } from 'react'; import React from 'react'; import type { HasObjectId } from '@growi/core'; import { PagePathLabel } from '@growi/ui/dist/components'; import type { IInAppNotification } from '~/interfaces/in-app-notification'; import FormattedDistanceDate from '../../FormattedDistanceDate'; import styles from './ModelNotification.module.scss'; type Props = { notification: IInAppNotification & HasObjectId actionMsg: string actionIcon: string actionUsers: string }; export const ModelNotification: FC = (props) => { const { notification, actionMsg, actionIcon, actionUsers, } = props; return (
{actionUsers} {actionMsg}
{actionIcon}
); };