Skip to content
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

Calendar icon #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
text "today" can be a react.element
  • Loading branch information
dmitry.smirnov committed Aug 29, 2017
commit dc2327b8e2c35cf2fae64f69795a2ae8f38eedaa
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Kronos extends Component {
settings: PropTypes.object,
}),
format: PropTypes.shape({
today: PropTypes.string,
today: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
year: PropTypes.string,
month: PropTypes.string,
day: PropTypes.string,
Expand Down