FormidableLabs / component-playground

A component for rendering React components with editable source and live preview
MIT License
1.19k stars 108 forks source link

feat: adding ability to have hyphenated classnames #136

Open subhendukundu opened 6 years ago

subhendukundu commented 6 years ago

So this PR is to have the classnames as hyphenated. We have few projects using the module, where we overridden the styles based on our requirement.

.previewArea,
.playgroundToggleCodeLink {
    white-space: normal;
    background-color: transparent;
}

Now the issue with these we are using Sonar for our code quality check, which creating a lot bunch of them as the rule is set to hyphenated. To fix them, this is really necessary change.