diff --git a/src/components/CardAboutShelter/CardAboutShelter.tsx b/src/components/CardAboutShelter/CardAboutShelter.tsx index 91766106..3dc0980b 100644 --- a/src/components/CardAboutShelter/CardAboutShelter.tsx +++ b/src/components/CardAboutShelter/CardAboutShelter.tsx @@ -22,7 +22,15 @@ const CardAboutShelter = (props: ICardAboutShelter) => {
Sobre o abrigo
- } label={shelter.address} /> + } label={`${shelter.address}`}> + + Ver no Google Maps + + } label={ diff --git a/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx b/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx index 733c3ce4..22e2dadd 100644 --- a/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx +++ b/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx @@ -4,7 +4,7 @@ import { IInfoRowProps } from './types'; const InfoRow = React.forwardRef( (props, ref) => { - const { icon, label, value, className = '', ...rest } = props; + const { icon, label, value, className = '', children, ...rest } = props; const isLink = value?.startsWith('http'); const ValueComp = !value ? ( @@ -37,6 +37,7 @@ const InfoRow = React.forwardRef( {label} {ValueComp} + {children}
);