Skip to content

Commit

Permalink
fix(types): add Catalan locale key to options of locale prop (#85)
Browse files Browse the repository at this point in the history
* fix(types): add Catalan locale key to options of locale prop

missing implementation from #80

* docs(contributing): add info about contribute with a new locale
  • Loading branch information
arthurdenner authored Oct 25, 2019
1 parent 993be98 commit f72d7ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ Also, make sure to run the tests before you commit your changes:
`npm run test` or `yarn test`.
Thank you for taking the time to contribute! 👍
## Want to add a locale?
Check the instructions on [this issue](https://github.com/arthurdenner/react-semantic-ui-datepickers/issues/2).
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type Locale = {
};

export type LocaleOptions =
| 'ca-ES'
| 'de-DE'
| 'en-US'
| 'es-ES'
Expand Down

1 comment on commit f72d7ac

@vercel
Copy link

@vercel vercel bot commented on f72d7ac Oct 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.