-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[DatePicker] Added disabled property and example #3060
Conversation
Thanks @andrejunges Please could you put the example in ExampleSimple (just convention to have diabled examples there), and update the description in Page.jsx? |
Could you also set |
yep, will do that soon |
758b3a4
to
698186d
Compare
any other suggestion? @mbrookes @oliviertassinari |
Just this:
|
something like that @mbrookes ? |
@@ -17,7 +17,8 @@ import datePickerExampleInternationalCode from '!raw!./ExampleInternational'; | |||
import datePickerReadmeText from './README'; | |||
|
|||
const descriptions = { | |||
simple: 'The Date Picker defaults to a portrait dialog. The `mode` property can be set to `landscape`.', | |||
simple: 'The Date Picker defaults to a portrait dialog. The `mode` property can be set to `landscape`. You can ' + | |||
'also disable the Dialog passing `true` to the property `disabled`.', |
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.
Looks good. I think "to the disabled
property." might read better. (Minor nitpick!)
done :) |
Looks good to me. |
[DatePicker] Added disabled property and example
@andrejunges Thanks! |
No description provided.