CougarCS / CougarCS-AdminPortal

Our officer admin portal created with React & Typescript
MIT License
6 stars 12 forks source link

Create PageHeader Component #32

Closed seesjays closed 1 year ago

seesjays commented 1 year ago

Our designs includes a header that can change its content per page.

image image

Create a wrapper component (one that can have children) that includes a title and subtitle prop that matches the designs above. Essentially it should just have the title, subtitle, whatever child components get passed in, and a bottom border.

Don't make it a flex container, a regular \<div> should do so we always have full control over how the child content appears.

It doesn't have to have any state or anything, the props will be regular strings.