701-T4 / flatshare

Flat management made simple. This project was conducted for a SOFTENG701 assignment at the University of Auckland.
https://flat-split.web.app
MIT License
10 stars 38 forks source link

Dashboard announcement component #188

Closed lin8231 closed 2 years ago

lin8231 commented 2 years ago

Description

Subteam 1 has added an announcements page, for users of the flat to make announcements in. We would like to display a preview of the latest announcement on the dashboard.

Fixes/resolves #189

Takes these props

interface DashboardAnnouncementProps {
  onViewAll: () => void;
  title: string;
  time: Date;
  user: string;
  description: string;
}

Screenshots

image

Type of change

Please delete options that are not relevant.

Checklist:

Leave blank if not applicable

I have completed these steps when making this pull request:

Before opening the PR for review: