-
Notifications
You must be signed in to change notification settings - Fork 435
Add hover style & flippable prop to Timepicker and Datepicker #353
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
Conversation
@tweettypography I'm going to add one more feature here, so please hold off on merging for now. |
Ok, it's good to go :) |
|
||
storiesOf(TIME_PICKER, module) | ||
.addDecorator(getStory => <div className="slds-p-around--medium">{getStory()}</div>) | ||
.add('Base', () => getTimepicker({ stepInMinutes: 30, onDateChange: handleDateChange })) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of this custom handleDateChange method you can actually just write onDateChange: action('onDateChange')
to log your events in Storybook.
2d85696
to
5f8b29e
Compare
@tweettypography I made the flippable prop not default to true anymore. Would you please review again? |
actually.. let me bump the version and add this note to the changelog :) |
84aa5c6
to
46a6ab6
Compare
Okie doke, good to go! |
46a6ab6
to
85a758b
Compare
No description provided.