forked from b00tc4mp/isdi-parttime-202309
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
function Topic(props) { | ||
return <p>{props.topics}</p> | ||
} | ||
|
||
export default Topic | ||
|
||
// it receives topics array. i need to map over that array. declare object before function Topic. call it for example translation. make key value pairs in which the key is the english and the value the spanish equivalent. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import Field from './Field' | ||
import Button from './Button' | ||
import Form from './Form' | ||
import Topic from './Topic' | ||
|
||
export { Field, Button, Form } | ||
export { Field, Button, Form, Topic } |
8 changes: 4 additions & 4 deletions
8
staff/judy-grayland/project/app/src/pages/ResourceActivity.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters