Skip to content

Create a reusable card component with title, description/image, optional drop shadow, and optional button displayย #72

Description

@7riumph

What will this add or fix? ๐Ÿ› ๏ธ

Currently the app mutates a button component in lieu of a dedicated card component ex. here

Create a dedicated card component with the listed props to replace present and future cards.

How might this affect users? ๐Ÿค”

n/a, for development

How should it operate and or look? ( Figma design screenshot ๐Ÿ“ท or code flow description )

Creative freedom, though it should look in-line with the current implementation.

Acceptance Criteria

Component at least has the following props:

  • title
  • description
  • displayDropShadow
  • displayButton (ensure its centered)

Additionally

  • It's good practice to create clear action-oriented commits for each change.

  • View the CaseListScreen to see what's current

  • Also use this for reference

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions