Replies: 1 comment
-
Hi @M1K3Yio! I'm not sure how to replicate your issue, since I have no experience with styled-components. The Sandboxes provided are not clear enough to understand your problem. Could you please cleanup your Sandbox so it runs full on typescript and the example is easier to understand? From the sandbox it seems the code you are trying to write is like this: import { DayPicker } from "react-day-picker";
import styled from "styled-components";
const StyledDayPicker = styled(DayPickerUI);
function App() {
return <StyledDayPicker />
} I have no idea what |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently today we have working solution with importing
styling.css
for a exported styled component.Example: react-day-picker-styled-css
We are in the process of updating our nx monorepo and with this next js has updated and we've encountered an issue where we now need to use
style.module.css
.Error:
While working through this, I am not able to export a styled component that would use our custom styling, while importing the module css.
Example: react-day-picker-styled-module-css
Notice the caption is not properly centered along with some other details.
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions