@rileybathurst/paddle 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -106,7 +106,7 @@ function Content({ svg, name, address, description, opening_time, closing_time,
|
|
|
106
106
|
)
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
const PaddleLocationCard = ({ svg, name, link, address, description, opening_time, closing_time, locale, background }: LocationCardTypes) => {
|
|
110
110
|
|
|
111
111
|
if (link.includes('http')) {
|
|
112
112
|
return (
|
|
@@ -146,4 +146,4 @@ function LocationCard({ svg, name, link, address, description, opening_time, clo
|
|
|
146
146
|
)
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
export default
|
|
149
|
+
export default PaddleLocationCard
|
|
@@ -7,7 +7,7 @@ interface LocationDeckTypes {
|
|
|
7
7
|
nodes?: LocationCardTypes[];
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const PaddleLocationDeck = ({ background, nodes }: LocationDeckTypes) => {
|
|
11
11
|
if (!nodes) return null;
|
|
12
12
|
return (
|
|
13
13
|
<section className="location-deck">
|
|
@@ -22,4 +22,4 @@ function LocationDeck({ background, nodes }: LocationDeckTypes) {
|
|
|
22
22
|
)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export default
|
|
25
|
+
export default PaddleLocationDeck
|