Use `styled-components` or something else instead of plain css
mstruebing opened this issue · 0 comments
mstruebing commented
Because of using plain css right now, we require some specific build-stack of the user of this component.
This is not a desired behavior and should be replaced by a solution where the build-stack of the user is independent from our own.
So we should investigate if this would be possible with styled-components
or otherwise look for an other solution.
To verify that the current solution is problematic:
Try to use this component inside a create-react-app (works without problems)
Try to use this component with our own website (possible any NextJS website) (crashes!)