material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[Docs] Calendar Component (date-picker)

Open Stansbridge opened this issue 10 years ago • 5 comments

The Calendar Component used by the date-picker works well in isolation. It could do with some documentation as a calendar is a useful tool itself.

Versions

  • Material-UI: HEAD

Stansbridge avatar Mar 16 '16 11:03 Stansbridge

I tagged this as a new component request. Exposing that component as public brings commitment, so we should make sure the API is solid, thanks for bringing this up :+1:

alitaheri avatar Mar 16 '16 11:03 alitaheri

@alitaheri : Do we need this? There is no separate calendar component in material spec. Can this be closed?

tintin1343 avatar May 04 '16 15:05 tintin1343

Hi @Stansbridge! Could you please provide me the working example of the Calendar? I tried to use it separately but it looks like there are some missing styles... screen shot 2016-08-08 at 18 25 40

sleemer avatar Aug 08 '16 16:08 sleemer

@sleemer It appears you just need to set the firstDayOfWeek prop in order to render the <Calendar> component separately, as it is normally defaulted to 1 by the <DatePicker> component.

See #5037

bloomdido avatar Mar 15 '17 20:03 bloomdido

Closing for #4787

oliviertassinari avatar Aug 22 '17 21:08 oliviertassinari