Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Feature - Card component [Dev] #41

Closed
2 tasks done
felipedc09 opened this issue Nov 10, 2021 · 0 comments · Fixed by #80
Closed
2 tasks done

Feature - Card component [Dev] #41

felipedc09 opened this issue Nov 10, 2021 · 0 comments · Fixed by #80
Assignees
Labels
carry-over-4 task that started in sprint 4 but it's not finished. carry-over-5 task that started in sprint 5 but it's not finished. components A components feature feature New feature or request weight:3 something that required understanding
Milestone

Comments

@felipedc09
Copy link

felipedc09 commented Nov 10, 2021

Card is a specific component to use with elements that require a header and a content.

Checklist ✅

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

Card is a container that have tow important sections header and content and is used to define detail information about and specific element.

import { Card } from '@platzily-ui/components';
// import Card from '@platzily-ui/components/Card'; Can by called like this either.


export default function MyComponent() {
    return (
      <p>
        <Card >
          <CardHeader>header</CardHeader>
          <CardContent>content</CardContent>
       </Card>
      </p>
    )
}

Requirements 🌈

  • Card use the Paper component.
  • Have two sections separated with a border.
  • The user can customize the border (with border or without border).
  • Have a minimum padding of 5px in header and content section.
  • Have contains anyone components.
  • Heder amount its height according to the content.

Motivation 🔦

It's necessary to show some information with a header to describe the content.

@felipedc09 felipedc09 added feature New feature or request components A components feature design Design task labels Nov 10, 2021
@omarefg omarefg changed the title Feature - Card component Feature - Card component [Dev] Nov 14, 2021
@omarefg omarefg added this to the Sprint 4 - UI milestone Nov 14, 2021
@omarefg omarefg closed this as completed Nov 14, 2021
@omarefg omarefg reopened this Nov 14, 2021
@omarefg omarefg added carry-over-4 task that started in sprint 4 but it's not finished. and removed design Design task labels Nov 14, 2021
@omarefg omarefg modified the milestones: Sprint 4 - UI, Sprint 5 - UI Nov 16, 2021
@kevfarid kevfarid linked a pull request Nov 23, 2021 that will close this issue
5 tasks
@kevfarid kevfarid added the weight:3 something that required understanding label Nov 23, 2021
@edanfesi edanfesi added the carry-over-5 task that started in sprint 5 but it's not finished. label Dec 1, 2021
@edanfesi edanfesi modified the milestones: Sprint 5 - UI, Sprint 6 - UI Dec 1, 2021
@kevfarid kevfarid reopened this Dec 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
carry-over-4 task that started in sprint 4 but it's not finished. carry-over-5 task that started in sprint 5 but it's not finished. components A components feature feature New feature or request weight:3 something that required understanding
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants