Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front End || Admin notification card #90

Closed
3 tasks
AlaaShurrab opened this issue Feb 8, 2021 · 1 comment · Fixed by #113
Closed
3 tasks

Front End || Admin notification card #90

AlaaShurrab opened this issue Feb 8, 2021 · 1 comment · Fixed by #113
Labels

Comments

@AlaaShurrab
Copy link
Collaborator

Common Component - Admin notification card:

it is a container that displays the data for the admin

  • props: name, data

  • It will be used in Pages :
    most of the admin's pages

  • Material UI link :
    link

  • UI Image From Design 👍
    image

@AlaaShurrab
Copy link
Collaborator Author

the props entered is

<NotificationCard
          userName={userName}
          productName={productName}
          productImg={productImg}
          userImg={userImg}
          orderDate={orderDate}
        />

and they should look like this

const userName = 'أحمد عيد';
const productName = 'حقبة نسائية';
const orderDate = 1611106160418;
const productImg =
  'http://cdn.shopify.com/s/files/1/1295/7439/products/Perse-Backpack-PSFB720-KHKI-SC10_grande.jpg?v=1571608805';
const userImg =
  'https://aui.atlassian.com/aui/8.6/docs/images/avatar-person.svg';
<NotificationCard
          userName={data.client_full_name}
          productName={data.product_name}
          productImg={data.product_img}
          userImg={data.client_avatar}
          orderDate={data.order_date}
        />

AlaaShurrab added a commit that referenced this issue Feb 13, 2021
AlaaShurrab added a commit that referenced this issue Feb 13, 2021
AlaaShurrab added a commit that referenced this issue Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant