@culturehq/add-to-calendar
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -9,2 +9,8 @@ # Changelog | ||
## [1.0.4] - 2019-08-22 | ||
### Changed | ||
- Switched the type definition for the `children` prop on the `AddToCalendar` component from `string` to `React.ReactNode` so it's more open. | ||
## [1.0.3] - 2019-08-22 | ||
@@ -57,3 +63,5 @@ | ||
[unreleased]: https://github.com/CultureHQ/add-to-calendar/compare/v1.0.2...HEAD | ||
[unreleased]: https://github.com/CultureHQ/add-to-calendar/compare/v1.0.4...HEAD | ||
[1.0.4]: https://github.com/CultureHQ/add-to-calendar/compare/v1.0.3...v1.0.4 | ||
[1.0.3]: https://github.com/CultureHQ/add-to-calendar/compare/v1.0.2...v1.0.3 | ||
[1.0.2]: https://github.com/CultureHQ/add-to-calendar/compare/v1.0.1...v1.0.2 | ||
@@ -60,0 +68,0 @@ [1.0.1]: https://github.com/CultureHQ/add-to-calendar/compare/v1.0.0...v1.0.1 |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import * as React from "react"; | ||
import { CalendarEvent } from "./makeUrls"; | ||
interface AddToCalendarProps { | ||
children?: string; | ||
children?: React.ReactNode; | ||
event: CalendarEvent; | ||
@@ -6,0 +6,0 @@ open?: boolean; |
{ | ||
"name": "@culturehq/add-to-calendar", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A small package for adding an event to a calendar.", | ||
@@ -5,0 +5,0 @@ "main": "dist/AddToCalendar.js", |
@@ -10,3 +10,3 @@ # @culturehq/add-to-calendar | ||
First, add `@culturehq/add-to-calendar` to your `package.json` `dependencies`, then install using either `npm install` or `yarn install`. Then, get your API key from tenor. Finally, you can add the selector component by adding: | ||
First, add `@culturehq/add-to-calendar` to your `package.json` `dependencies`, then install using either `npm install` or `yarn install`. Next, you can add the component through: | ||
@@ -13,0 +13,0 @@ ```javascript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18343
0