Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const create = (options = {}) => (strs, ...values) => {
const isComponent = typeof tag !== 'string';
const element = isComponent ? getDisplayName(tag) : tag;
const elementClassName = '.__root__';
if (typeof strs === 'function') {
values = [strs];
strs = ['', ''];
}
const wrapper = (options.wrap || wrap)(elementClassName, [...strs]);
class StyledComponent extends React.Component {
constructor() {
super();
this.innerRender = this.innerRender.bind(this);
}
mapValues(props) {