jquense / react-widgets

Polished, feature rich, accessible form inputs built with React
http://jquense.github.io/react-widgets/
MIT License
2.34k stars 393 forks source link

Feature Request: Documentation for react-widgets-moment #1086

Open ikreb7 opened 3 years ago

ikreb7 commented 3 years ago

Hello,

I miss more documentation about the react-widgets-moment package, e.g. momentLocalizer.

Would be very nice if you could extend the current docs.

jquense commented 3 years ago

docs are here! http://jquense.github.io/react-widgets/docs/localization#momentjs-date

buacula commented 2 years ago

@jquense the doc is hardly working..

Moment format props accept strings

<DatePicker format="mmm YYY" />

I don't understand the meaning. format is not a valid prop of DatePicker. Passing format in doesn't do anything. I'm using: "react-widgets": "^5.5.0", "react-widgets-moment": "^5.0.10",

buacula commented 2 years ago

ok so I found it, it should be

<DatePicker valueDisplayFormat="mmm YYY" valueEditFormat="mmm YYY" />
joe-at-shipwell commented 1 year ago

@jquense Where does that <Localization /> component from the examples come from?