@rileybathurst/paddle 0.0.6 → 0.0.8

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -0,0 +1,15 @@
1
+ import * as React from "react"
2
+
3
+ interface BookNowTypes {
4
+ peek_base: string
5
+ strapiLocaleName: string
6
+ }
7
+ export const PaddleBookNow = ({ peek_base, strapiLocaleName }: BookNowTypes) =>
8
+ <a
9
+ href={peek_base}
10
+ rel="noopener noreferrer"
11
+ className="book-now"
12
+ title={`Book now with ${strapiLocaleName} kayak and paddleboard`}
13
+ >
14
+ BOOK NOW
15
+ </a>
package/src/index.tsx CHANGED
@@ -1,2 +1,5 @@
1
1
  import * as React from "react";
2
+
3
+ // Export Button component
2
4
  export * from "./Button";
5
+ export * from "./PaddleBookNow";