Last change
on this file since d7b7f00 was d7b7f00, checked in by Gorazd Biskoski <gorazdbiskoskii@…>, 4 weeks ago |
Add project
|
-
Property mode
set to
100644
|
File size:
739 bytes
|
Rev | Line | |
---|
[d7b7f00] | 1 | import styles from "../../css/AdminPanelCss/admin-style.module.css";
|
---|
| 2 |
|
---|
| 3 | const AdminRecipeApplicationCard = ( {data, onClick} ) => {
|
---|
| 4 | const { recipeName, recipeCategory, recipeOrigin} = data
|
---|
| 5 |
|
---|
| 6 | return (
|
---|
| 7 | <div className={styles.card} onClick={onClick}>
|
---|
| 8 | <div className={styles.cardContent}>
|
---|
| 9 | <h3 className={styles.cardTitle}>
|
---|
| 10 | <strong>Recipe name: </strong> {recipeName}
|
---|
| 11 | </h3>
|
---|
| 12 | <p>
|
---|
| 13 | <strong>Category:</strong> {recipeCategory}
|
---|
| 14 | </p>
|
---|
| 15 | <p>
|
---|
| 16 | <strong>Origin:</strong> {recipeOrigin}
|
---|
| 17 | </p>
|
---|
| 18 | </div>
|
---|
| 19 | </div>
|
---|
| 20 | );
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | export default AdminRecipeApplicationCard |
---|
Note:
See
TracBrowser
for help on using the repository browser.