Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple @craftjs/layers with styled-components #672

Open
addlistener opened this issue Jul 11, 2024 · 1 comment
Open

Decouple @craftjs/layers with styled-components #672

addlistener opened this issue Jul 11, 2024 · 1 comment

Comments

@addlistener
Copy link

addlistener commented Jul 11, 2024

My project does not depend on styled-components, however @craftjs/layers will depend on it even tho I provide a custom render. The same thing applies to react-contenteditable.

import styled from 'styled-components';

Ideally the @craftjs/layers should be headless? I guess we can move the default layer component inside the examples?

@addlistener
Copy link
Author

Plus there are some warnings here because of the UI. A bit annoying lol

image image image image

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

No branches or pull requests

1 participant