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

02 components #4

Merged
merged 9 commits into from
Apr 25, 2023
Merged

02 components #4

merged 9 commits into from
Apr 25, 2023

Conversation

FlavioRr
Copy link
Contributor

Descripción

<-- Agregar una descripción concisa de lo que hace el pull request !-->

6 componentes han sido terminados:
CardImage
GalleryCard
TextContainer
TextButton
IconTitle
DropdownText

Resumen de cambios

<-- Enlistar los commits hechos del pull request !-->

4 commits=
Commit inicial = Card Image, GalleryCard y TextButton
2do commit = Text Container
3ro commit = IconTitle
4to commit= DropdownText

Notas (opcional)

<-- Agregar notas para explicar aspectos adicionales del pull request !-->

N/A

import IconTitle from "./components/IconTitle"
import DropdownText from "./components/DropdownText"


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usar Prettier

* @returns {JSX.Element} - The CardImage component JSX element.
*/
const CardImage = ({icon}) => {
return (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usar Prettier

* @param {string} icon3 - The url of the third image.
* @returns {JSX.Element} - The GalleryCard component JSX element.
*/
const GalleryCard = ({icon1, icon2, icon3}) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usar prettier

* @param {string} headerText - The text content for the header.
* @returns {JSX.Element} - The IconTitle component JSX element.
*/
function IconTitle({ image, headerText }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usar arrow function: const IconTitle = ({ image, headerText }) => {}

* @param {string} icon3 - The url of the third image.
* @returns {JSX.Element} - The GalleryCard component JSX element.
*/
const GalleryCard = ({icon1, icon2, icon3}) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mejor usen un arreglo de icons y un map

Copy link
Contributor

@AriannFernando AriannFernando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apruebo estos cambios

@Mike5801 Mike5801 dismissed MandukoGR’s stale review April 25, 2023 05:53

The changes were resolved

@AriannFernando AriannFernando merged commit b287387 into develop Apr 25, 2023
@AriannFernando AriannFernando deleted the 02_components branch April 25, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants