Open fatihhayri opened 5 years ago
@fatihhayri in the context of a react component, how would you represent the JSON of a react element with this kind of selector?
Can you show what the JSON should look like that would work with this case? Not sure I follow.
sample
.content-file[data-content-file-type='.docx'] {
background-position: -5px -5px;
}
result
".content-file[data-content-file-type='.doc']" {
"background-position": "-5px -5px";
}
I do see your provided conversion. I'd like to understand more as I'm still not following the actual use case.
Can you provide a https://codesandbox.io/ example showing this type of selector.
Thanks (sorry I'm being slow 😛)
export
Problem
content_file_data_content_file_type___doc