Skip to content

fixes #45

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

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ In terms of system support, **all modern browsers** (Chrome, Edge, Firefox, Safa

See [add-to-calendar-button.com](https://add-to-calendar-button.com/) for a live demo and more documentation.

And remember to [⭐ **star** this repository](#) in order to stay up-to-date and save it for later! 🤗

<br />

---
Expand Down Expand Up @@ -124,6 +122,8 @@ If you need to use the type explicitely, you can import it via:
import type { AddToCalendarButtonType } from 'add-to-calendar-button-react';
```

<br />

### All options and hidden features

Find all information about the available props and how to configure specific features on the demo page at [add-to-calendar-button.com/configuration](https://add-to-calendar-button.com/configuration).
Expand All @@ -138,8 +138,20 @@ Mind the difference to the web component! At this wrapper, you would use the `<A

<br />

## 🤗 Support it!

You like this project? It would be awesome if you would support it, so it lives on!

- ⭐ [Star the repository](#) in order to stay up-to-date and save it for later!
- 📣 Spread the word! On Twitter/X, Medium, Discord, Facebook, ...
- ✍️ Leave a review at [ProductHunt](https://www.producthunt.com/products/add-to-calendar-button-generator/reviews).
- 💌 Send us some positive feedback at the [discussion board](https://github.com/add2cal/add-to-calendar-button/discussions).

<br />

## ⚡ Changelog

- v2.3 : update to parent script v2.3; pastDateHandling, disabled option, static-dropup option, new languages
- v2.2 : update to parent script v2.2; type fixes; "attendee" option; better lazy load of external css
- v2.1 : update to parent script v2.1; type fixes
- v2.0 : supporting latest major version of the parent script
Expand Down
Binary file modified assets/readme-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "add-to-calendar-button-react",
"version": "2.2.9",
"version": "2.3.0",
"engines": {
"node": ">=16.18.1",
"npm": ">=8.19.2"
Expand Down
2 changes: 1 addition & 1 deletion src/AddToCalendarButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type AddToCalendarButtonProps = {
customLabels?: object | string;
customCss?: string;
lightMode?: 'system' | 'dark' | 'light' | 'bodyScheme' | string;
language?: 'en' | 'de' | 'nl' | 'fr' | 'es' | 'pt' | 'tr' | 'zh' | 'ar' | 'hi' | 'pl' | 'ro' | 'id' | 'no' | 'fi' | 'sv' | 'cs' | 'ja' | 'it' | 'ko' | 'vi' | string;
language?: 'en' | 'de' | 'nl' | 'fa' | 'fr' | 'es' | 'et' | 'pt' | 'tr' | 'zh' | 'ar' | 'hi' | 'pl' | 'ro' | 'id' | 'no' | 'fi' | 'sv' | 'cs' | 'ja' | 'it' | 'ko' | 'vi' | string;
hideRichData?: boolean | string;
ty?: object | string;
rsvp?: object | string;
Expand Down