Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Missing styles in build ? #215

Open
padsbanger opened this issue Jun 30, 2020 · 4 comments
Open

Missing styles in build ? #215

padsbanger opened this issue Jun 30, 2020 · 4 comments

Comments

@padsbanger
Copy link

Hello,

I have just installed this library using yarn and I tried to include in my app:

<SimpleReactCalendar activeMonth={new Date()} />

I am using fresh React boilerplate from create-react-app, no extra configuration. It looks like that styles are missing, but they are also not present in dist directory of this package.

Am I missing something ?

@havenchyk
Copy link
Contributor

Hey @padsbanger, that's a good question. We didn't deliver any styles by default, instead we relied on classnames from css so you could create your own styles (e.g. from examples folder which we use for storybook), so our calendar is pretty lightweight.

But actually having some default styling is not that bad and probably expected by users

@padsbanger
Copy link
Author

Yeah, I was looking for a small and simple react calendar too quickly drop into my project while prototyping and I was suprised that there was no default styling.

@havenchyk
Copy link
Contributor

So I'd rephrase: we need to deliver some default styling with calendar 😄

@gugiserman
Copy link

@havenchyk any news on this one? I just found this project and it seemed like a lifesaver for a quick drop-in replacement of our current date range picker, but then noticed it had no default styling and we can't afford the time to style everything from scratch right now 😭

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants