Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const App = ({disabled, type, color = 'grey'}) => styled(styles)`
button[disabled] {
color: ${color};
}
`(
<button disabled="{disabled}" type="{type}">
{styled(styles2)(content)}
click
</button>,
);
const App = ({disabled, type, color = 'grey'}) => styled(styles)`
button[disabled] {
color: ${color};
}
`(
<button disabled="{disabled}" type="{type}">
{styled(styles2)(content)}
click
</button>,
);