Skip to content

Feat: Tile, AnnouncementTile and AnnouncementsList#23

Closed
rensvmoorsel wants to merge 2 commits into
developmentfrom
feat/announcement-component-frontend
Closed

Feat: Tile, AnnouncementTile and AnnouncementsList#23
rensvmoorsel wants to merge 2 commits into
developmentfrom
feat/announcement-component-frontend

Conversation

@rensvmoorsel
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@MeesMaas MeesMaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik zou even goed kijken naar de folder structuur van de components.

Het liefste zou je mappen maken met daar in de volgende bestanden:

  • AnnouncementTile.tsx
  • AnnouncementTile.style.css
  • AnnouncementTile.types.ts

Dit is een voorbeeld. (neem dit dus niet letterlijk over)

En dan alles via een index.tsx exporteren zodat je overal gewoon je imports op 1 lijn kan gooien.

Comment on lines +1 to +7
export type Announcement = {
id: number;
announcer: string;
title: string;
date: Date;
announcement: string;
};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deze shit komt uiteindelijk uit de backend toch? Dan kan je beter eerst even de backend afbouwen zodat we het via heyapi kunnen genereren

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, maar ik ben met de backend aan het wachten op een PR die open staat :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants