input-moment
input-moment copied to clipboard
Possible Instruction Improvements
Hello. I've been comparing React-based date and time pickers, and input-moment
looks to be the best. However, getting up to speed with it could be a little easier. If you ...
-
Included an
import
orrequire
line in the readme.md instructions code; without this one doesn't know whether to doimport InputMoment from 'input-moment'
orimport {InputMoment} from 'input-moment'
-
Mention the CSS requirements (and how to fulfill them); right now there's no mention of the CSS on the readme.md, but obviously the CSS is pretty important to the library
Thanks for making input-moment!
Thank you for all your feedbacks, will try to fix those issues.
Since node_modules is commonly ignored in webpack, i would suggest including this as the example for CSS
require("style-loader!css-loader!input-moment/dist/input-moment.css");
for webpack users, to ensure it gets loaded the same way w/o the need to add exclusions in your webpack config.